[PATCH] drm/i915/psr: Increase io and fast wake times by 1 lines
Jouni Högander
jouni.hogander at intel.com
Mon Dec 18 13:05:01 UTC 2023
Signed-off-by: Jouni Högander <jouni.hogander at intel.com>
---
drivers/gpu/drm/i915/display/intel_psr.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
index b6e2e70e1290..73dffdc62769 100644
--- a/drivers/gpu/drm/i915/display/intel_psr.c
+++ b/drivers/gpu/drm/i915/display/intel_psr.c
@@ -1127,6 +1127,10 @@ static bool _compute_psr2_wake_times(struct intel_dp *intel_dp,
fast_wake_lines = intel_usecs_to_scanlines(
&crtc_state->hw.adjusted_mode, fast_wake_time);
+ drm_dbg_kms(&i915->drm,
+ "Calculated io_wake_lines = %d, fast_wake_lines = %d",
+ io_wake_lines, fast_wake_lines);
+
if (io_wake_lines > max_wake_lines ||
fast_wake_lines > max_wake_lines)
return false;
@@ -1138,6 +1142,9 @@ static bool _compute_psr2_wake_times(struct intel_dp *intel_dp,
intel_dp->psr.io_wake_lines = max(io_wake_lines, 7);
intel_dp->psr.fast_wake_lines = max(fast_wake_lines, 7);
+ intel_dp->psr.io_wake_lines++;
+ intel_dp->psr.fast_wake_lines++;
+
return true;
}
--
2.34.1
More information about the Intel-gfx-trybot
mailing list