[RFC PATCH 7/8] drm/xe: Remove unused XE_DEFAULT_GTT_SIZE_MB definition.

Maarten Lankhorst dev at lankhorst.se
Fri Jun 13 13:45:26 UTC 2025


The #define went unused since mid 2023, remove it.
Relevant commit: 1a545ed74b33 ("drm/xe: fix pvc unload issue")

Signed-off-by: Maarten Lankhorst <dev at lankhorst.se>
---
 drivers/gpu/drm/xe/xe_bo.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_bo.h b/drivers/gpu/drm/xe/xe_bo.h
index 02ada1fb8a235..ecb5fe3b1c1dc 100644
--- a/drivers/gpu/drm/xe/xe_bo.h
+++ b/drivers/gpu/drm/xe/xe_bo.h
@@ -13,8 +13,6 @@
 #include "xe_vm_types.h"
 #include "xe_vm.h"
 
-#define XE_DEFAULT_GTT_SIZE_MB          3072ULL /* 3GB by default */
-
 #define XE_BO_FLAG_USER		BIT(0)
 /* The bits below need to be contiguous, or things break */
 #define XE_BO_FLAG_SYSTEM		BIT(1)
-- 
2.45.2



More information about the dri-devel mailing list