diff options
author | Imre Deak <[email protected]> | 2024-02-05 15:26:31 +0200 |
---|---|---|
committer | Joonas Lahtinen <[email protected]> | 2024-03-06 15:34:03 +0200 |
commit | 0848814aa296ca13e4f03848f35d2d29fc7fc30c (patch) | |
tree | 272d3dc67963109f1b3157526f9ff3582258dcfe /tools/perf/scripts/python | |
parent | 26d2b757fff02bbe971abc39071e263aa0cab924 (diff) |
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]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions