[PATCH 2/2] drm/xe: Use 64K pages for scanout buffers for Xe2

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Tue Jul 9 11:12:31 UTC 2024


Set Xe2 platforms to use 64K pages for display.

Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
Cc: Matthew Auld <matthew.auld at intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
---
 drivers/gpu/drm/xe/xe_pci.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
index 53b67f39c7d5..b629145d23fa 100644
--- a/drivers/gpu/drm/xe/xe_pci.c
+++ b/drivers/gpu/drm/xe/xe_pci.c
@@ -177,6 +177,7 @@ static const struct xe_graphics_desc graphics_xe2 = {
 	.name = "Xe2_LPG / Xe2_HPG",
 
 	XE2_GFX_FEATURES,
+	.vram_flags = XE_VRAM_FLAGS_DISPLAY_NEED64K,
 };
 
 static const struct xe_media_desc media_xem = {
-- 
2.34.1



More information about the Intel-xe mailing list