drm/xe/ggtt: Use BIT_ULL() for 64bit
authorLucas De Marchi <lucas.demarchi@intel.com>
Thu, 22 Dec 2022 20:11:45 +0000 (12:11 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 12 Dec 2023 19:06:00 +0000 (14:06 -0500)
Make sure it's 64bit value in both 32b and 64b arch.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_ggtt.c

index eab74a509f681b45acd76a584c4cf96a919b96be..0018c84417470b1852588e1c20b47da6f396ab3a 100644 (file)
@@ -20,8 +20,8 @@
 #include "gt/intel_gt_regs.h"
 
 /* FIXME: Common file, preferably auto-gen */
-#define MTL_GGTT_PTE_PAT0      BIT(52)
-#define MTL_GGTT_PTE_PAT1      BIT(53)
+#define MTL_GGTT_PTE_PAT0      BIT_ULL(52)
+#define MTL_GGTT_PTE_PAT1      BIT_ULL(53)
 
 u64 xe_ggtt_pte_encode(struct xe_bo *bo, u64 bo_offset)
 {