提交 8cef3e5c 编写于 作者: R Rodrigo Vivi

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: NRodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: NDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180227212913.14083-1-rodrigo.vivi@intel.com
上级 06d058e1
...@@ -523,9 +523,9 @@ void intel_psr_compute_config(struct intel_dp *intel_dp, ...@@ -523,9 +523,9 @@ void intel_psr_compute_config(struct intel_dp *intel_dp,
return; return;
} }
/* PSR2 is restricted to work with panel resolutions upto 3200x2000 */ /* PSR2 is restricted to work with panel resolutions up to 3640x2304 */
if (adjusted_mode->crtc_hdisplay > 3200 || if (adjusted_mode->crtc_hdisplay > 3640 ||
adjusted_mode->crtc_vdisplay > 2000) { adjusted_mode->crtc_vdisplay > 2304) {
DRM_DEBUG_KMS("PSR2 disabled, panel resolution too big\n"); DRM_DEBUG_KMS("PSR2 disabled, panel resolution too big\n");
return; return;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册