]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdgpu: Add pcie indirect support to amdgpu_mm_wreg_mmio_rlc()
authorTom St Denis <tom.stdenis@amd.com>
Fri, 7 Jan 2022 11:57:41 +0000 (06:57 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Jan 2022 20:44:26 +0000 (15:44 -0500)
commita3c550a0afc07b7be56df44e8f175297d00e98ef
treec0720d355285113d3d595260af8807bc3d834cc2
parent17017a53735a5af0c81dc06917a625a6973dec87
drm/amd/amdgpu: Add pcie indirect support to amdgpu_mm_wreg_mmio_rlc()

The function amdgpu_mm_wreg_mmio_rlc() is used by debugfs to write to
MMIO registers.  It didn't support registers beyond the BAR mapped MMIO
space.  This adds pcie indirect write support.

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c