]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/xe/xe3: Xe3 uses the same PAT settings as Xe2
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 8 Oct 2024 01:35:04 +0000 (18:35 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 8 Oct 2024 16:10:10 +0000 (09:10 -0700)
Xe3 platforms use the same PAT tables as Xe2.

Bspec: 71582
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Matt Atwood <matthew.s.atwood@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241008013509.61233-2-matthew.s.atwood@intel.com
drivers/gpu/drm/xe/xe_pat.c

index 6bd6adfdfc7414b7fda0e427279eaecc2c6a2e3b..b164738181739658cb24ee7273d86b306503042c 100644 (file)
@@ -387,7 +387,7 @@ static const struct xe_pat_ops xe2_pat_ops = {
 
 void xe_pat_init_early(struct xe_device *xe)
 {
-       if (GRAPHICS_VER(xe) == 20) {
+       if (GRAPHICS_VER(xe) == 30 || GRAPHICS_VER(xe) == 20) {
                xe->pat.ops = &xe2_pat_ops;
                xe->pat.table = xe2_pat_table;