Project 'drm/intel' was moved to 'drm/i915/kernel'. Please update any links and bookmarks that may still have the old path.
drm/i915/dp: Fix connector DSC HW state readout
The DSC HW state of DP connectors is read out during driver loading and system resume in intel_modeset_update_connector_atomic_state(). This function is called for all connectors though and so the state of DSI connectors will also get updated incorrectly, triggering a WARN there wrt. the DSC decompression AUX device. Fix the above by moving the DSC state readout to a new DP connector specific sync_state() hook. This is anyway the logical place to update the connector object's state vs. the connector's atomic state. Fixes: b2608c6b ("drm/i915/dp_mst: Enable MST DSC decompression for all streams") Reported-and-tested-by:Drew Davenport <ddavenport@chromium.org> Closes: https://lore.kernel.org/all/Zb0q8IDVXS0HxJyj@chromium.org Reviewed-by:
Ankit Nautiyal <ankit.k.nautiyal@intel.com> Signed-off-by:
Imre Deak <imre.deak@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240205132631.1588577-1-imre.deak@intel.com (cherry picked from commit a62e1459) Signed-off-by:
Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Showing
- drivers/gpu/drm/i915/display/intel_display_types.h 7 additions, 0 deletionsdrivers/gpu/drm/i915/display/intel_display_types.h
- drivers/gpu/drm/i915/display/intel_dp.c 13 additions, 0 deletionsdrivers/gpu/drm/i915/display/intel_dp.c
- drivers/gpu/drm/i915/display/intel_dp.h 2 additions, 0 deletionsdrivers/gpu/drm/i915/display/intel_dp.h
- drivers/gpu/drm/i915/display/intel_dp_mst.c 1 addition, 0 deletionsdrivers/gpu/drm/i915/display/intel_dp_mst.c
- drivers/gpu/drm/i915/display/intel_modeset_setup.c 6 additions, 7 deletionsdrivers/gpu/drm/i915/display/intel_modeset_setup.c
Loading
Please register or sign in to comment