From: Imre Deak Date: Thu, 6 Feb 2025 16:46:24 +0000 (+0200) Subject: drm/i915/dp_mst: Fix disabling the minimum HBlank time X-Git-Tag: v6.15-rc1~120^2~16^2~111 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9e35a4edb837627849063d61d46968bfc691c484;p=thirdparty%2Fkernel%2Flinux.git drm/i915/dp_mst: Fix disabling the minimum HBlank time Disable the minimum HBlank time only on LNL+, where this functionality and corresponding register exists. Bspec: 74379 Fixes: a5ebe00c2ace ("drm/i915/dp: Guarantee a minimum HBlank time") Cc: Arun R Murthy Cc: Suraj Kandpal Reviewed-by: Suraj Kandpal Signed-off-by: Imre Deak Link: https://patchwork.freedesktop.org/patch/msgid/20250206164624.3185280-1-imre.deak@intel.com --- diff --git a/drivers/gpu/drm/i915/display/intel_dp_mst.c b/drivers/gpu/drm/i915/display/intel_dp_mst.c index 2324ca8f60962..411b7322d460b 100644 --- a/drivers/gpu/drm/i915/display/intel_dp_mst.c +++ b/drivers/gpu/drm/i915/display/intel_dp_mst.c @@ -1006,7 +1006,8 @@ static void mst_stream_disable(struct intel_atomic_state *state, intel_dp_sink_disable_decompression(state, connector, old_crtc_state); - intel_de_write(display, DP_MIN_HBLANK_CTL(trans), 0x00); + if (DISPLAY_VER(display) >= 20) + intel_de_write(display, DP_MIN_HBLANK_CTL(trans), 0); } static void mst_stream_post_disable(struct intel_atomic_state *state,