summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorPiotr Piórkowski <piotr.piorkowski@intel.com>2025-10-21 16:34:23 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-10-23 17:24:40 +0300
commit898acad44ab1229fac242c625cb8797686325e1f (patch)
tree652ffc466f13ecf5edfa5d22cdd6fabc15f9d330 /scripts/gdb/linux/utils.py
parent1dc1ab61096b0f5234c020ccf5f91cecd2789990 (diff)
downloadlinux-898acad44ab1229fac242c625cb8797686325e1f.tar.xz
drm/xe: Use devm_ioremap_wc for VRAM mapping and drop manual unmap
[ Upstream commit 922ae875230be91c7f05f2aa90d176b6693e2601 ] Let's replace the manual call to ioremap_wc function with devm_ioremap_wc function, ensuring that VRAM mappings are automatically released when the driver is detached. Since devm_ioremap_wc registers the mapping with the device's managed resources, the explicit iounmap call in vram_fini is no longer needed, so let's remove it. Signed-off-by: Piotr Piórkowski <piotr.piorkowski@intel.com> Suggested-by: Matthew Auld <matthew.auld@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Acked-by: Matthew Brost <matthew.brost@intel.com> Link: https://lore.kernel.org/r/20250714184818.89201-2-piotr.piorkowski@intel.com Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Stable-dep-of: d30203739be7 ("drm/xe: Move rebar to be done earlier") Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions