drm/xe: Use __iomem for the regs pointer
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Tue, 9 Jan 2024 11:24:02 +0000 (12:24 +0100)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Mon, 15 Jan 2024 14:36:41 +0000 (15:36 +0100)
commit3ec276d06698189506f508f87c0f4f17c11e0251
tree40b6831c658a0bd143776067b927cb4b1d68ec59
parent457f4439833487acb18abdd55e95fbb17d43fdca
drm/xe: Use __iomem for the regs pointer

The regs pointer points to IO memory. Annotate it properly and
fix the corresponding sparse warning.

Fixes: a4e2f3a299ea ("drm/xe: refactor xe_mmio_probe_tiles to support MMIO extension")
Cc: Koby Elbaz <kelbaz@habana.ai>
Cc: Ofir Bitton <obitton@habana.ai>
Cc: Moti Haimovski <mhaimovski@habana.ai>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240109112405.108136-2-thomas.hellstrom@linux.intel.com
(cherry picked from commit 9d03bf30e78673d827484bbc17a6fd8f5e43a039)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
drivers/gpu/drm/xe/xe_mmio.c