Revision 0848814aa296ca13e4f03848f35d2d29fc7fc30c authored by Imre Deak on 05 February 2024, 13:26:31 UTC, committed by Joonas Lahtinen on 06 March 2024, 13:34:03 UTC
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 <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 a62e145981500996ea76af3d740ce0c0d74c5be0)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
1 parent 26d2b75
History
File Mode Size
Kconfig -rw-r--r-- 3.3 KB
Makefile -rw-r--r-- 825 bytes
affinity.c -rw-r--r-- 3.4 KB
autoprobe.c -rw-r--r-- 4.6 KB
chip.c -rw-r--r-- 40.7 KB
cpuhotplug.c -rw-r--r-- 6.6 KB
debug.h -rw-r--r-- 1.2 KB
debugfs.c -rw-r--r-- 7.1 KB
devres.c -rw-r--r-- 7.9 KB
dummychip.c -rw-r--r-- 1.3 KB
generic-chip.c -rw-r--r-- 16.8 KB
handle.c -rw-r--r-- 6.1 KB
internals.h -rw-r--r-- 14.6 KB
ipi-mux.c -rw-r--r-- 5.2 KB
ipi.c -rw-r--r-- 9.2 KB
irq_sim.c -rw-r--r-- 6.2 KB
irqdesc.c -rw-r--r-- 24.1 KB
irqdomain.c -rw-r--r-- 53.1 KB
manage.c -rw-r--r-- 77.4 KB
matrix.c -rw-r--r-- 13.2 KB
migration.c -rw-r--r-- 3.1 KB
msi.c -rw-r--r-- 45.6 KB
pm.c -rw-r--r-- 6.3 KB
proc.c -rw-r--r-- 13.1 KB
resend.c -rw-r--r-- 5.0 KB
settings.h -rw-r--r-- 4.9 KB
spurious.c -rw-r--r-- 12.3 KB
timings.c -rw-r--r-- 25.1 KB

back to top