drm/amdgpu: Skip the program of MMMC_VM_AGP_* in SRIOV
authorPeng Ju Zhou <PengJu.Zhou@amd.com>
Wed, 28 Apr 2021 07:41:25 +0000 (15:41 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 May 2021 14:32:09 +0000 (10:32 -0400)
commit9f04eb7acffd125a961cc5f16e4d6f43ae0e6367
tree049a5022465f132857e09ca328a697cf690f4763
parentf5e25a83c1e204a19e7288c3474abb5469fa24b0
drm/amdgpu: Skip the program of MMMC_VM_AGP_* in SRIOV

KMD should not program these registers, the value were
defined in the host, so skip them in the SRIOV environment.

Signed-off-by: Peng Ju Zhou <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