diff options
author | Daisy Sun <daisy.sun@intel.com> | 2014-06-16 15:48:18 -0700 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-06-17 10:46:12 +0200 |
commit | 032843a5a5733cbb50daca20a76ead2c55d8f51a (patch) | |
tree | e6bf145723c6cbb2e81d9d6e8699c451c9c45216 /drivers/gpu/drm/i915/intel_pm.c | |
parent | 24f3a8cf7766e52a087904b4346794c7b410f957 (diff) | |
download | op-kernel-dev-032843a5a5733cbb50daca20a76ead2c55d8f51a.zip op-kernel-dev-032843a5a5733cbb50daca20a76ead2c55d8f51a.tar.gz |
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: Daisy Sun <daisy.sun@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pm.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_pm.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 537a7ee..6cd11aa 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c @@ -530,7 +530,10 @@ void intel_update_fbc(struct drm_device *dev) 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_height = 2048; } else { |