drm/amdgpu: Skip access SDMA0_F32_CNTL in sdma_v6_0_enable under SRIOV
authorYifan Zha <Yifan.Zha@amd.com>
Tue, 25 Oct 2022 06:46:11 +0000 (14:46 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Nov 2022 15:45:50 +0000 (11:45 -0400)
commite1a29b28e70457549149d3b2c82e4333d68ac49d
tree02697ce0b02366fad7dbbd9ab07325df7867699b
parent47a7470bb2ca2d2ccbd945082e5ebf0279a33fe5
drm/amdgpu: Skip access SDMA0_F32_CNTL in sdma_v6_0_enable under SRIOV

[Why]
SDMA0_F32_CNTL is a PF_only regitser which will be blocked by L1.
RLCG will not program the register as well.

[How]
Skip to program SDMA0_F32_CNTL under SRIOV VF.

Signed-off-by: Yifan Zha <Yifan.Zha@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c