mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 14:12:07 +02:00
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: a4e2f3a299 ("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
This commit is contained in:
parent
9d0c1c5618
commit
9d03bf30e7
|
|
@ -303,7 +303,7 @@ void xe_mmio_probe_tiles(struct xe_device *xe)
|
|||
u8 id, tile_count = xe->info.tile_count;
|
||||
struct xe_gt *gt = xe_root_mmio_gt(xe);
|
||||
struct xe_tile *tile;
|
||||
void *regs;
|
||||
void __iomem *regs;
|
||||
u32 mtcfg;
|
||||
|
||||
if (tile_count == 1)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user