]> 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)
commit4ff059e63d6f8206096e5138f483f2f27f4812e6
tree7bf38e02fedd88afe82294377aaf31436f02ab11
parenta056bb7bb625aee3e94a8f95afd5f34064a67a8f
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