1. 27 2月, 2019 3 次提交
  2. 23 2月, 2019 1 次提交
  3. 21 2月, 2019 3 次提交
  4. 06 2月, 2019 1 次提交
  5. 16 1月, 2019 2 次提交
    • L
      drm/i915: Pass down rc in intel_encoder->compute_config() · 204474a6
      Lyude Paul 提交于
      Something that I completely missed when implementing the new MST VCPI
      atomic helpers is that with those helpers, there's technically a chance
      of us having to grab additional modeset locks in ->compute_config() and
      furthermore, that means we have the potential to hit a normal modeset
      deadlock. However, because ->compute_config() only returns a bool this
      means we can't return -EDEADLK when we need to drop locks and try again
      which means we end up just failing the atomic check permanently. Whoops.
      
      So, fix this by modifying ->compute_config() to pass down an actual
      error code instead of a bool so that the atomic check can be restarted
      on modeset deadlocks.
      
      Thanks to Ville Syrjälä for pointing this out!
      
      Changes since v1:
      * Add some newlines
      * Return only -EINVAL from hsw_crt_compute_config()
      * Propogate return code from intel_dp_compute_dsc_params()
      * Change all of the intel_dp_compute_link_config*() variants
      * Don't miss if (hdmi_port_clock_valid()) branch in
        intel_hdmi_compute_config()
      
      [Cherry-picked from drm-misc-next to drm-intel-next-queued to fix
       linux-next & drm-tip conflict, while waiting for proper propagation of
       the DP MST series that this commit fixes. In hindsight, a topic branch
       might have been a better approach for it.]
      Signed-off-by: NLyude Paul <lyude@redhat.com>
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Fixes: eceae147 ("drm/dp_mst: Start tracking per-port VCPI allocations")
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109320Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190115200800.3121-1-lyude@redhat.com
      (cherry picked from commit 96550555)
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      Acked-by: NDaniel Vetter <daniel@ffwll.ch>
      204474a6
    • L
      drm/i915: Pass down rc in intel_encoder->compute_config() · 96550555
      Lyude Paul 提交于
      Something that I completely missed when implementing the new MST VCPI
      atomic helpers is that with those helpers, there's technically a chance
      of us having to grab additional modeset locks in ->compute_config() and
      furthermore, that means we have the potential to hit a normal modeset
      deadlock. However, because ->compute_config() only returns a bool this
      means we can't return -EDEADLK when we need to drop locks and try again
      which means we end up just failing the atomic check permanently. Whoops.
      
      So, fix this by modifying ->compute_config() to pass down an actual
      error code instead of a bool so that the atomic check can be restarted
      on modeset deadlocks.
      
      Thanks to Ville Syrjälä for pointing this out!
      
      Changes since v1:
      * Add some newlines
      * Return only -EINVAL from hsw_crt_compute_config()
      * Propogate return code from intel_dp_compute_dsc_params()
      * Change all of the intel_dp_compute_link_config*() variants
      * Don't miss if (hdmi_port_clock_valid()) branch in
        intel_hdmi_compute_config()
      Signed-off-by: NLyude Paul <lyude@redhat.com>
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Fixes: eceae147 ("drm/dp_mst: Start tracking per-port VCPI allocations")
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109320Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190115200800.3121-1-lyude@redhat.com
      96550555
  6. 15 1月, 2019 1 次提交
  7. 11 1月, 2019 2 次提交
  8. 09 1月, 2019 1 次提交
  9. 30 11月, 2018 1 次提交
  10. 15 11月, 2018 1 次提交
  11. 03 11月, 2018 1 次提交
  12. 02 11月, 2018 2 次提交
  13. 27 10月, 2018 1 次提交
  14. 24 10月, 2018 2 次提交
  15. 15 10月, 2018 5 次提交
  16. 10 10月, 2018 1 次提交
  17. 02 10月, 2018 2 次提交
  18. 29 8月, 2018 1 次提交
  19. 25 8月, 2018 1 次提交
    • P
      drm/i915/icl: implement the tc/legacy HPD {dis,}connect flows · 39d1e234
      Paulo Zanoni 提交于
      Unlike the other ports, TC ports are not available to use as soon as
      we get a hotplug. The TC PHYs can be shared between multiple
      controllers: display, USB, etc. As a result, handshaking through FIA
      is required around connect and disconnect to cleanly transfer
      ownership with the controller and set the type-C power state.
      
      This patch implements the flow sequences described by our
      specification. We opt to grab ownership of the ports as soon as we get
      the hotplugs in order to simplify the interactions and avoid surprises
      in the user space side. We may consider changing this in the future,
      once we improve our testing capabilities on this area.
      
      v2:
       * This unifies the DP and HDMI patches so we can discuss everything
         at once so people looking at random single patches can actually
         understand the direction.
       * I found out the spec was updated a while ago. There's a small
         difference in the connect flow and the patch was updated for that.
       * Our spec also now gives a good explanation on what is really
         happening. As a result, comments were added.
       * Add some more comments as requested by Rodrigo (Rodrigo).
      v3:
       * Downgrade a DRM_ERROR that shouldn't ever happen but we can't act
         on in case it does (Chris).
      
      BSpec: 21750, 4250.
      Cc: Animesh Manna <animesh.manna@intel.com>
      Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Reviewed-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Signed-off-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180801173441.9789-1-paulo.r.zanoni@intel.com
      39d1e234
  20. 24 8月, 2018 1 次提交
  21. 13 7月, 2018 1 次提交
  22. 21 6月, 2018 1 次提交
  23. 19 6月, 2018 1 次提交
  24. 18 6月, 2018 1 次提交
  25. 16 6月, 2018 1 次提交
  26. 15 6月, 2018 2 次提交