]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe: map MMIO BAR according to the num of tiles in device desc
authorKoby Elbaz <kelbaz@habana.ai>
Thu, 5 Oct 2023 15:06:18 +0000 (11:06 -0400)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:42:59 +0000 (11:42 -0500)
commitef29b390c7345f081412454538ab94c395068153
treeac91cecf794b79f4886c8406decf37fee60a7904
parent866b2b1764341ada0611f54c6b19285c32d20efa
drm/xe: map MMIO BAR according to the num of tiles in device desc

When MMIO BAR is initially mapped, the driver assumes a single tile device.
However, former memory allocations take all tiles into account.
First, a common standard for resource usage is needed here.
Second, with the next (6th) patch in this series, the MMIO BAR remapping
will be done only if a reduced-tile device is attached.

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/xe_mmio.c