drm/amd/amdgpu: Fix the CGCG setting is overwritten for SRIOV.
authorGavin Wan <Gavin.Wan@amd.com>
Thu, 21 May 2020 19:35:28 +0000 (19:35 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 May 2020 18:00:51 +0000 (14:00 -0400)
commitb0f8a6d5ef0e5d37176e4ce8e297bfffb7438503
treeecc4771f3c8c05cac8e7dacd0898a1e0155e5053
parent49d2a388bf9b9fe6c881e22162e335ce17869f51
drm/amd/amdgpu: Fix the CGCG setting is overwritten for SRIOV.

For SRIOV, since the CP_INT_CNTL_RING0 is programed on host side.
The Guest should not program CP_INT_CNTL_RING0 again.

Signed-off-by: Gavin Wan <Gavin.Wan@amd.com>
Reviewed-by: Monk Liu <Monk.Liu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c