]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/xe/xe3p_lpg: Extend 'group ID' mask size
authorMatt Roper <matthew.d.roper@intel.com>
Fri, 6 Feb 2026 18:36:05 +0000 (15:36 -0300)
committerGustavo Sousa <gustavo.sousa@intel.com>
Tue, 10 Feb 2026 13:09:12 +0000 (10:09 -0300)
Xe3p_LPG extends the 'group ID' register mask by one bit.  Since the new
upper bit (12) was unused on previous platforms, we can safely extend
the existing mask size without worrying about adding conditional version
checks to the register programming.

Bspec: 67175
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Dnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>
Link: https://patch.msgid.link/20260206-nvl-p-upstreaming-v3-9-636e1ad32688@intel.com
Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
drivers/gpu/drm/xe/regs/xe_gt_regs.h

index d593331202e8f49f4d9e3e41acae5cb16d62c215..ff77523e823edca1e1ed3a7c45bc1676f1145feb 100644 (file)
@@ -58,7 +58,7 @@
 #define   MCR_SLICE(slice)                     REG_FIELD_PREP(MCR_SLICE_MASK, slice)
 #define   MCR_SUBSLICE_MASK                    REG_GENMASK(26, 24)
 #define   MCR_SUBSLICE(subslice)               REG_FIELD_PREP(MCR_SUBSLICE_MASK, subslice)
-#define   MTL_MCR_GROUPID                      REG_GENMASK(11, 8)
+#define   MTL_MCR_GROUPID                      REG_GENMASK(12, 8)
 #define   MTL_MCR_INSTANCEID                   REG_GENMASK(3, 0)
 
 #define PS_INVOCATION_COUNT                    XE_REG(0x2348)