Skip to content

Commit 9c9a57e

Browse files
vsyrjalajlahtine-intel
authored andcommitted
drm/i915/dp: Use crtc_state->enhanced_framing properly on ivb/hsw CPU eDP
Looks like I missed the drm_dp_enhanced_frame_cap() in the ivb/hsw CPU eDP code when I introduced crtc_state->enhanced_framing. Fix it up so that the state we program to the hardware is guaranteed to match what we computed earlier. Cc: stable@vger.kernel.org Fixes: 3072a24 ("drm/i915: Introduce crtc_state->enhanced_framing") Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patch.msgid.link/20260325135849.12603-3-ville.syrjala@linux.intel.com Reviewed-by: Michał Grzelak <michal.grzelak@intel.com> (cherry picked from commit 799fe8dc2af52f35c78c4ac97f8e34994dfd8760) Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
1 parent e08e075 commit 9c9a57e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ static void intel_dp_prepare(struct intel_encoder *encoder,
137137
intel_dp->DP |= DP_SYNC_VS_HIGH;
138138
intel_dp->DP |= DP_LINK_TRAIN_OFF_CPT;
139139

140-
if (drm_dp_enhanced_frame_cap(intel_dp->dpcd))
140+
if (pipe_config->enhanced_framing)
141141
intel_dp->DP |= DP_ENHANCED_FRAMING;
142142

143143
intel_dp->DP |= DP_PIPE_SEL_IVB(crtc->pipe);

0 commit comments

Comments
 (0)