[PATCH 3/3] drm/xe/pf: Always use Multi-Level LMTT for newer platforms

Michal Wajdeczko michal.wajdeczko at intel.com
Tue Feb 13 21:24:18 UTC 2024


Change function logic to prefer Multi-Level LMTT variant on all
new platforms.

Bspec: 52404, 67468
Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
Cc: Michał Winiarski <michal.winiarski at intel.com>
---
 drivers/gpu/drm/xe/xe_lmtt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_lmtt.c b/drivers/gpu/drm/xe/xe_lmtt.c
index dfb0e1887615..ac77e9507f07 100644
--- a/drivers/gpu/drm/xe/xe_lmtt.c
+++ b/drivers/gpu/drm/xe/xe_lmtt.c
@@ -35,7 +35,7 @@
 
 static bool xe_has_multi_level_lmtt(struct xe_device *xe)
 {
-	return xe->info.platform == XE_PVC;
+	return xe->info.platform >= XE_PVC;
 }
 
 static struct xe_tile *lmtt_to_tile(struct xe_lmtt *lmtt)
-- 
2.43.0



More information about the Intel-xe mailing list