drm/amdgpu: Ignore stop rlc on SRIOV environment.
authorGavin Wan <Gavin.Wan@amd.com>
Wed, 9 Nov 2022 18:12:42 +0000 (13:12 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 10 Nov 2022 20:29:46 +0000 (15:29 -0500)
commitecc9b6e15af2ffc8b9c0e6f15160eb8aaea36af5
tree8a220629db057550052bbf26e88d05ab0cb86ac3
parent4864f2ee9ee2acf4a1009b58fbc62f17fa086d4e
drm/amdgpu: Ignore stop rlc on SRIOV environment.

For SRIOV, the guest driver should not do stop rlc. The host
handles programing RLC.

On SRIOV, the stop rlc will be hang (RLC related registers are
blocked by policy) when the RLCG interface is not enabled.

Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Gavin Wan <Gavin.Wan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c