drm/amdgpu: Modify MMHUB register access from MMIO to RLCG in file mmhub_v2*
authorpengzhou <PengJu.Zhou@amd.com>
Wed, 18 Nov 2020 07:56:23 +0000 (15:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 May 2021 14:32:09 +0000 (10:32 -0400)
commitf5e25a83c1e204a19e7288c3474abb5469fa24b0
treec948d31381c6274882757c9ba8075b7d94967d9c
parent6ba3f59eb4d928b6336112a2c70b4c51600b0f0a
drm/amdgpu: Modify MMHUB register access from MMIO to RLCG in file mmhub_v2*

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

Signed-off-by: pengzhou <PengJu.Zhou@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c