drm/xe: add 28-bit address support in struct xe_reg
authorKoby Elbaz <kelbaz@habana.ai>
Thu, 5 Oct 2023 15:06:14 +0000 (11:06 -0400)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:42:58 +0000 (11:42 -0500)
commit399a13323f0d148bf00eff7e9156efe8a97063c0
treeafc886a34432bcbb3481ce2b13cc5ec4ea33e8b1
parente814389ff180514001df424f48645cf30f4a2a1e
drm/xe: add 28-bit address support in struct xe_reg

Xe driver currently supports 22-bit addresses for MMIO access.
Future platforms will have additional MMIO extension with
larger address spaces, and to access them, the driver will
have to support wider address representation.
Please note that while the XE_REG macro is used for MMIO access,
XE_REG_EXT macro will be used for MMIO-extension access.

Signed-off-by: Koby Elbaz <kelbaz@habana.ai>
Reviewed-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Moti Haimovski <mhaimovski@habana.ai>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/regs/xe_reg_defs.h
drivers/gpu/drm/xe/xe_device_types.h