]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Revert "drm/i915/psr: Allow SCL=0 on platforms with always-on VRR TG"
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Mon, 22 Jun 2026 10:17:36 +0000 (15:47 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 6 Jul 2026 14:52:42 +0000 (10:52 -0400)
This reverts commit 4f1cab2e4863d96ce13b8d94151f4848e38c3d5b.

Allowing SCL=0 on platforms with always-on VRR timing generator is
causing underruns and other issues on PTL in some cases.

SCL still needs to be non-zero in certain scenarios. Revert for now
until this is better understood.

Fixes: 4f1cab2e4863 ("drm/i915/psr: Allow SCL=0 on platforms with always-on VRR TG")
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://patch.msgid.link/20260622101736.2389991-1-ankit.k.nautiyal@intel.com
(cherry picked from commit 4dfcc789a144a21aa9be94f19f928aaa9fdc834d)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/display/intel_psr.c

index e138982dc91f6dd99f0865a24c1719b45e684e33..beaa1d62613db55ac232f475bd5eb49456df8b84 100644 (file)
@@ -1522,9 +1522,6 @@ int _intel_psr_min_set_context_latency(const struct intel_crtc_state *crtc_state
            needs_panel_replay)
                return 0;
 
-       if (intel_vrr_always_use_vrr_tg(display))
-               return 0;
-
        return 1;
 }