Skip to content

Commit 8cef3e5

Browse files
committed
drm/i915/psr2: Fix max resolution supported.
According to spec: "PSR2 is supported for pipe active sizes up to 3640 pixels wide and 2304 lines tall." BSpec: 7713 Cc: Dhinakaran Pandiyan <[email protected]> Signed-off-by: Rodrigo Vivi <[email protected]> Reviewed-by: Dhinakaran Pandiyan <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 06d058e commit 8cef3e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/gpu/drm/i915/intel_psr.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -523,9 +523,9 @@ void intel_psr_compute_config(struct intel_dp *intel_dp,
523523
return;
524524
}
525525

526-
/* PSR2 is restricted to work with panel resolutions upto 3200x2000 */
527-
if (adjusted_mode->crtc_hdisplay > 3200 ||
528-
adjusted_mode->crtc_vdisplay > 2000) {
526+
/* PSR2 is restricted to work with panel resolutions up to 3640x2304 */
527+
if (adjusted_mode->crtc_hdisplay > 3640 ||
528+
adjusted_mode->crtc_vdisplay > 2304) {
529529
DRM_DEBUG_KMS("PSR2 disabled, panel resolution too big\n");
530530
return;
531531
}

0 commit comments

Comments
 (0)