summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_psr.c
diff options
context:
space:
mode:
authorRodrigo Vivi <rodrigo.vivi@intel.com>2018-02-27 13:29:12 -0800
committerRodrigo Vivi <rodrigo.vivi@intel.com>2018-02-27 15:54:12 -0800
commit8cef3e5c0d1927926a95a6a72dc00d39048ecb12 (patch)
tree4ea13b44c817d4b60fab969922771dc0e454cf90 /drivers/gpu/drm/i915/intel_psr.c
parent06d058e1a008e202addc3bff9ab025fbcb23040f (diff)
downloadtalos-obmc-linux-8cef3e5c0d1927926a95a6a72dc00d39048ecb12.tar.gz
talos-obmc-linux-8cef3e5c0d1927926a95a6a72dc00d39048ecb12.zip
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 <dhinakaran.pandiyan@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180227212913.14083-1-rodrigo.vivi@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_psr.c')
-rw-r--r--drivers/gpu/drm/i915/intel_psr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_psr.c b/drivers/gpu/drm/i915/intel_psr.c
index 1f77633fe809..2f685beac21b 100644
--- a/drivers/gpu/drm/i915/intel_psr.c
+++ b/drivers/gpu/drm/i915/intel_psr.c
@@ -523,9 +523,9 @@ void intel_psr_compute_config(struct intel_dp *intel_dp,
return;
}
- /* PSR2 is restricted to work with panel resolutions upto 3200x2000 */
- if (adjusted_mode->crtc_hdisplay > 3200 ||
- adjusted_mode->crtc_vdisplay > 2000) {
+ /* PSR2 is restricted to work with panel resolutions up to 3640x2304 */
+ if (adjusted_mode->crtc_hdisplay > 3640 ||
+ adjusted_mode->crtc_vdisplay > 2304) {
DRM_DEBUG_KMS("PSR2 disabled, panel resolution too big\n");
return;
}
OpenPOWER on IntegriCloud