aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
diff options
context:
space:
mode:
authorJonathan Kim <[email protected]>2021-12-09 21:48:56 +0000
committerAlex Deucher <[email protected]>2022-01-14 22:52:00 +0000
commitcb5cc4f573e18deb7d9143de0ccb62c08181bc85 (patch)
treeb3f34dec7112248a460d5b6ceff3a8f6aacc5158 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
parentdrm/amdgpu: Removed redundant ras code (diff)
downloadkernel-cb5cc4f573e18deb7d9143de0ccb62c08181bc85.tar.gz
kernel-cb5cc4f573e18deb7d9143de0ccb62c08181bc85.zip
drm/amdgpu: improve debug VRAM access performance using sdma
For better performance during VRAM access for debugged processes, do read/write copies over SDMA. In order to fulfill post mortem debugging on a broken device, fallback to stable MMIO access when gpu recovery is disabled or when job submission time outs are set to max. Failed SDMA access should automatically fall back to MMIO access. Use a pre-allocated GTT bounce buffer pre-mapped into GART to avoid page-table updates and TLB flushes on access. Signed-off-by: Jonathan Kim <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
0 files changed, 0 insertions, 0 deletions