summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_pt_types.h
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2023-09-27 22:38:59 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-21 19:41:20 +0300
commit0d68247efcdbf7791122071323719310207354f3 (patch)
treea89c5cd31bcfee0e7f9c123c0bb6d5b85bfe21c0 /drivers/gpu/drm/xe/xe_pt_types.h
parent451028644775a5e07aaab3f147fda583e7054de6 (diff)
downloadlinux-0d68247efcdbf7791122071323719310207354f3.tar.xz
drm/xe/pat: Keep track of relevant indexes
Some of the PAT entries are relevant for internal driver use, which varies per platform. Let the PAT early initialization set what they should point to so the rest of the driver can use them where needed. Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Link: https://lore.kernel.org/r/20230927193902.2849159-9-lucas.demarchi@intel.com Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_pt_types.h')
-rw-r--r--drivers/gpu/drm/xe/xe_pt_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/xe_pt_types.h b/drivers/gpu/drm/xe/xe_pt_types.h
index 64e3921a0f46..bf5000499251 100644
--- a/drivers/gpu/drm/xe/xe_pt_types.h
+++ b/drivers/gpu/drm/xe/xe_pt_types.h
@@ -17,6 +17,7 @@ enum xe_cache_level {
XE_CACHE_NONE,
XE_CACHE_WT,
XE_CACHE_WB,
+ __XE_CACHE_LEVEL_COUNT,
};
#define XE_VM_MAX_LEVEL 4