Commit 032843a5 authored by Daisy Sun's avatar Daisy Sun Committed by Daniel Vetter

drm/i915: Broaden FBC resolution limit to 4096*4096

Staring from HSW, the resolution limit of FBC has increased to
4096*4096

Issue: VIZ-2813
Change-Id: I842f64e3cf2c0d18d29ef1bcfef3b9bb1f1764ac
Signed-off-by: default avatarDaisy Sun <daisy.sun@intel.com>
Reviewed-by: default avatarDamien Lespiau <damien.lespiau@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 24f3a8cf
...@@ -530,7 +530,10 @@ void intel_update_fbc(struct drm_device *dev) ...@@ -530,7 +530,10 @@ void intel_update_fbc(struct drm_device *dev)
goto out_disable; goto out_disable;
} }
if (IS_G4X(dev) || INTEL_INFO(dev)->gen >= 5) { if (INTEL_INFO(dev)->gen >= 8 || IS_HASWELL(dev)) {
max_width = 4096;
max_height = 4096;
} else if (IS_G4X(dev) || INTEL_INFO(dev)->gen >= 5) {
max_width = 4096; max_width = 4096;
max_height = 2048; max_height = 2048;
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment