summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinod Govindapillai <vinod.govindapillai@intel.com>2026-07-22 16:24:48 +0300
committerVinod Govindapillai <vinod.govindapillai@intel.com>2026-07-24 11:48:36 +0300
commitf0cabcc880aba3f05ca59d735f6d166b7fceca80 (patch)
tree41b5ad5174e93617577c482cfa18f2550c4e87c8
parent8e58bdd59508465dd58cf65a3facf8571cf3c63f (diff)
downloadlinux-next-f0cabcc880aba3f05ca59d735f6d166b7fceca80.tar.gz
linux-next-f0cabcc880aba3f05ca59d735f6d166b7fceca80.zip
drm/i915/fbc: No surface size restrictions from LNL onwards
From xe2_lpd+ platforms, enabling FBC do not depend on the surface size. So remove the check. v2: changes to patch description Bspec: 69560 Signed-off-by: Vinod Govindapillai <vinod.govindapillai@intel.com> Reviewed-by: Jouni Högander <jouni.hogander@intel.com> Link: https://patch.msgid.link/20260722132448.318112-3-vinod.govindapillai@intel.com
-rw-r--r--drivers/gpu/drm/i915/display/intel_fbc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_fbc.c b/drivers/gpu/drm/i915/display/intel_fbc.c
index 1cb5439f0d42..f61b4a218d6e 100644
--- a/drivers/gpu/drm/i915/display/intel_fbc.c
+++ b/drivers/gpu/drm/i915/display/intel_fbc.c
@@ -1306,6 +1306,9 @@ static bool intel_fbc_surface_size_ok(const struct intel_plane_state *plane_stat
struct intel_display *display = to_intel_display(plane_state);
unsigned int effective_w, effective_h, max_w, max_h;
+ if (DISPLAY_VER(display) >= 20)
+ return true;
+
intel_fbc_max_surface_size(display, &max_w, &max_h);
effective_w = plane_state->view.color_plane[0].x +