]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Move rebar to its own file
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 19 Dec 2025 21:16:48 +0000 (13:16 -0800)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 24 Dec 2025 15:59:35 +0000 (07:59 -0800)
commit382876afa75a292a92ea138f2938a9856056befb
treee9586a1ea0457123e120864aed39c2f796c1fcc2
parentac1317df039d9e4a05e5acac4159e5c2021600aa
drm/xe: Move rebar to its own file

Now that xe_pci.c calls the rebar directly, it doesn't make sense to
keep it in xe_vram.c since it's closer to the PCI initialization than to
the VRAM. Move it to its own file.

While at it, add a better comment to document the possible values for
the vram_bar_size module parameter.

Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patch.msgid.link/20251219211650.1908961-5-matthew.d.roper@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/xe/Makefile
drivers/gpu/drm/xe/xe_pci.c
drivers/gpu/drm/xe/xe_pci_rebar.c [new file with mode: 0644]
drivers/gpu/drm/xe/xe_pci_rebar.h [new file with mode: 0644]
drivers/gpu/drm/xe/xe_vram.c
drivers/gpu/drm/xe/xe_vram.h