summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>2026-11-04 15:26:21 +0200
committerCristian Ciocaltea <cristian.ciocaltea@collabora.com>2026-11-09 21:36:56 +0200
commit59d532e39ea794ba6d0f8e8acd1ea4fb20d27877 (patch)
tree174c5adec1b899911914e2903a9f3164a77ea9c5 /tools/perf/scripts/python
parent6e73b637dc16953067635d9ba2019f5645092217 (diff)
drm/display: hdmi: Use committed state to decide on SCDC resync
drm_connector_hdmi_sync_scdc() uses the scrambler_enabled flag to decide whether the sink-side SCDC status is worth checking on a hotplug/detect event. That flag tracks the source-side scrambler status, which is not necessarily in sync with what the committed mode actually requires. In particular, a source driver may deliberately set scrambler_enabled at init to force a disable at boot and resync hardware left enabled by the firmware, as vc4 does. If the pipeline doesn't get disabled afterwards, e.g. because no display was active at probe time, the flag remains stale. A subsequent detect (e.g. an HPD event) then finds scrambling disabled on the sink while the flag claims otherwise, and triggers a CRTC reset. This results in a one-time spurious flicker on an otherwise correctly configured non-scrambled mode. Verify conn_state->hdmi.scrambler_needed instead, as it is computed during atomic check and reliably describes the requirements of the active mode. Fixes: d653818324ed ("drm/display: hdmi: Add HDMI 2.0 scrambling management helpers") Reported-by: Sashiko <sashiko-bot@kernel.org> Closes: https://lore.kernel.org/all/sashiko-outbox-170670@kernel.org/ Reviewed-by: MaĆ­ra Canal <mcanal@igalia.com> Link: https://patch.msgid.link/20261104-hdmi-scdc-scramb-fixes-v1-2-16a9bb3d64a6@collabora.com Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions