projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06d058e
)
drm/i915/psr2: Fix max resolution supported.
author
Rodrigo Vivi
<
[email protected]
>
Tue, 27 Feb 2018 21:29:12 +0000
(13:29 -0800)
committer
Rodrigo Vivi
<
[email protected]
>
Tue, 27 Feb 2018 23:54:12 +0000
(15:54 -0800)
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]
drivers/gpu/drm/i915/intel_psr.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_psr.c
b/drivers/gpu/drm/i915/intel_psr.c
index 1f77633fe809d76b75e419c01000cb66ff93e1e8..2f685beac21be576dcd547307eb5036d8fe55ff9 100644
(file)
--- 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 up
to 3200x2000
*/
- if (adjusted_mode->crtc_hdisplay > 3
20
0 ||
- adjusted_mode->crtc_vdisplay > 2
000
) {
+ /* PSR2 is restricted to work with panel resolutions up
to 3640x2304
*/
+ if (adjusted_mode->crtc_hdisplay > 3
64
0 ||
+ adjusted_mode->crtc_vdisplay > 2
304
) {
DRM_DEBUG_KMS("PSR2 disabled, panel resolution too big\n");
return;
}