]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/ddi: For an active output call the DP encoder sync_state() only for DP
authorImre Deak <imre.deak@intel.com>
Mon, 22 Jul 2024 16:54:53 +0000 (19:54 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 31 Jul 2024 15:45:59 +0000 (18:45 +0300)
commita64d5fe490cd92d74b1cf46da63164cefcc61a58
treee53472d7aea3e3b43b6ca6a4a9c942f6fdcf6d01
parent0cf09702a118b1c09b694862061913108565edd0
drm/i915/ddi: For an active output call the DP encoder sync_state() only for DP

If the DDI encoder output is enabled in HDMI mode there is no point in
calling intel_dp_sync_state(), as in that case the DPCD initialization
will fail - as expected - with AUX timeouts. Prevent calling the hook in
this case.

Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240722165503.2084999-5-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c