]> Git Repo - linux.git/commit
drm/i915/dp: Fix connector DSC HW state readout
authorImre Deak <[email protected]>
Mon, 5 Feb 2024 13:26:31 +0000 (15:26 +0200)
committerJoonas Lahtinen <[email protected]>
Wed, 6 Mar 2024 13:34:03 +0000 (15:34 +0200)
commit0848814aa296ca13e4f03848f35d2d29fc7fc30c
tree272d3dc67963109f1b3157526f9ff3582258dcfe
parent26d2b757fff02bbe971abc39071e263aa0cab924
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: b2608c6b3212 ("drm/i915/dp_mst: Enable MST DSC decompression for all streams")
Reported-and-tested-by: Drew Davenport <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]
Reviewed-by: Ankit Nautiyal <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit a62e145981500996ea76af3d740ce0c0d74c5be0)
Signed-off-by: Joonas Lahtinen <[email protected]>
drivers/gpu/drm/i915/display/intel_display_types.h
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_dp.h
drivers/gpu/drm/i915/display/intel_dp_mst.c
drivers/gpu/drm/i915/display/intel_modeset_setup.c
This page took 0.050919 seconds and 4 git commands to generate.