drm/xe/ggtt: Use BIT_ULL() for 64bit
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>
This commit is contained in:
parent
760f168db3
commit
4aa18ae446
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user