drm/amdgpu: Modify GC register access from MMIO to RLCG in file kfd_v10*
authorPeng Ju Zhou <PengJu.Zhou@amd.com>
Thu, 22 Apr 2021 03:14:51 +0000 (11:14 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 May 2021 14:32:07 +0000 (10:32 -0400)
commitd697f3d8b9f16e640875950ccae3f2979b49eb85
tree28e324c81011e36a2a4c82eb967762f002b727d9
parentcda722d2a8b23f7b4cb7fdd408c8a79c86d9b0f9
drm/amdgpu: Modify GC register access from MMIO to RLCG in file kfd_v10*

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

Signed-off-by: Peng Ju Zhou <PengJu.Zhou@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c