From: Ville Syrjälä <[email protected]>

IVB Bspec says:
"Frame Buffer Compression is only supported with memory surfaces of 4096 lines
or less and pipe source sizes of 4096 pixels by 2048 lines or less. "

so seems like we should be able to bump the offset+size limit to
at least 4kx4k. Make it so.

Signed-off-by: Ville Syrjälä <[email protected]>
---
 drivers/gpu/drm/i915/display/intel_fbc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_fbc.c 
b/drivers/gpu/drm/i915/display/intel_fbc.c
index 0ac222eaddd2..63f389a1707d 100644
--- a/drivers/gpu/drm/i915/display/intel_fbc.c
+++ b/drivers/gpu/drm/i915/display/intel_fbc.c
@@ -1034,7 +1034,7 @@ static bool intel_fbc_hw_tracking_covers_screen(const 
struct intel_plane_state *
        } else if (DISPLAY_VER(i915) >= 10) {
                max_w = 5120;
                max_h = 4096;
-       } else if (DISPLAY_VER(i915) >= 8 || IS_HASWELL(i915)) {
+       } else if (DISPLAY_VER(i915) >= 7) {
                max_w = 4096;
                max_h = 4096;
        } else if (IS_G4X(i915) || DISPLAY_VER(i915) >= 5) {
-- 
2.41.0

Reply via email to