]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: add rebar parameter
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Feb 2025 17:31:28 +0000 (12:31 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Apr 2025 19:18:33 +0000 (15:18 -0400)
commit48b733d99b0d8db01fcf55d7ae31f69510fb1a4a
tree6513fc9471497f28f5bf59a564b2dc089fc69f8b
parentb71b7cd91c642f282794b82cf2b8159899b9aa59
drm/amdgpu: add rebar parameter

Add a new parameter to disable BAR resizing.  Note that this
only disables the driver from attempting to resize the BAR,
The BIOS may have resized the BAR at boot.

Some teams have found this useful in debugging P2P DMA
issues on systems where the available MMIO space did not allow
for all of the GPUs present to resize their BARs.

Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c