]> git.hungrycats.org Git - linux/commit
drm/xe/mmio: Map MMIO BAR using managed version of pci_iomap
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 22 Jun 2026 13:23:38 +0000 (15:23 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 23 Jun 2026 17:13:41 +0000 (19:13 +0200)
commitf8c64537f2db36f1ccaf223c313b5590fd9ba411
treeb17ab7a9d0050cb1effc90f69550e5614fad059e
parent632cdeecdd30337e3a9293d9de52ad9fbaf5f229
drm/xe/mmio: Map MMIO BAR using managed version of pci_iomap

This will allow us to simplify our custom release action where we
will keep only zeroing of the xe->mmio.regs as we still rely on it
all checks during all xe_mmio operations. While around, add missing
kernel-doc for the function and update the error message.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patch.msgid.link/20260622132342.19600-3-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_mmio.c