Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit e452742

Browse files
aknautiyaljnikula
authored andcommitted
drm/i915: Use correct downstream caps for check Src-Ctl mode for PCON
Fix the typo in DPCD caps used for checking SRC CTL mode of HDMI2.1 PCON v2: Corrected Fixes tag (Jani Nikula). v3: Rebased. Fixes: 04b6603 ("drm/i915/display: Configure HDMI2.1 Pcon for FRL only if Src-Ctl mode is available") Cc: Ankit Nautiyal <[email protected]> Cc: Uma Shankar <[email protected]> Cc: Jani Nikula <[email protected]> Cc: "Ville Syrj_l_" <[email protected]> Cc: Imre Deak <[email protected]> Cc: Manasi Navare <[email protected]> Cc: Gwan-gyeong Mun <[email protected]> Cc: Lucas De Marchi <[email protected]> Cc: Sean Paul <[email protected]> Signed-off-by: Ankit Nautiyal <[email protected]> Reviewed-by: Swati Sharma <[email protected]> Signed-off-by: Anshuman Gupta <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit 88a9c54) Signed-off-by: Jani Nikula <[email protected]>
1 parent a915fe5 commit e452742

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/display/intel_dp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2111,7 +2111,7 @@ void intel_dp_check_frl_training(struct intel_dp *intel_dp)
21112111
* -PCON supports SRC_CTL_MODE (VESA DP2.0-HDMI2.1 PCON Spec Draft-1 Sec-7)
21122112
* -sink is HDMI2.1
21132113
*/
2114-
if (!(intel_dp->dpcd[2] & DP_PCON_SOURCE_CTL_MODE) ||
2114+
if (!(intel_dp->downstream_ports[2] & DP_PCON_SOURCE_CTL_MODE) ||
21152115
!intel_dp_is_hdmi_2_1_sink(intel_dp) ||
21162116
intel_dp->frl.is_trained)
21172117
return;

0 commit comments

Comments
 (0)