diff options
| author | Imre Deak <[email protected]> | 2025-02-06 16:46:24 +0000 |
|---|---|---|
| committer | Imre Deak <[email protected]> | 2025-02-07 13:09:59 +0000 |
| commit | 9e35a4edb837627849063d61d46968bfc691c484 (patch) | |
| tree | e9ce155a25797a389728c505d77c9e58678c64b6 /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
| parent | Revert "drm/i915/dp: Compute as_sdp based on if vrr possible" (diff) | |
| download | kernel-9e35a4edb837627849063d61d46968bfc691c484.tar.gz kernel-9e35a4edb837627849063d61d46968bfc691c484.zip | |
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 <[email protected]>
Cc: Suraj Kandpal <[email protected]>
Reviewed-by: Suraj Kandpal <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
| -rw-r--r-- | drivers/gpu/drm/i915/display/intel_dp_mst.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dp_mst.c b/drivers/gpu/drm/i915/display/intel_dp_mst.c index 2324ca8f6096..411b7322d460 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, |
