]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Modify register access in sdma_v5_2 to use _SOC15 macros
authorRohit Khaire <rohit.khaire@amd.com>
Fri, 4 Jun 2021 19:34:14 +0000 (15:34 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Jun 2021 18:56:53 +0000 (14:56 -0400)
commit8ec5af1d96c9573f7d7ee3ddc1160f4f8380bfa2
tree7bf38e02fedd88afe82294377aaf31436f02ab11
parent83b33c837db78f52339fe1c6430a55f57c7270d3
drm/amdgpu: Modify register access in sdma_v5_2 to use _SOC15 macros

In SRIOV environment, KMD should access SDMA registers
through RLCG if GC indirect access flag enabled.

Using _SOC15 read/write macros ensures that they go
through RLC when the flag is enabled.

Signed-off-by: Rohit Khaire <rohit.khaire@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c