drm/amdgpu: change how we update mmRLC_SPM_MC_CNTL
authorChristian König <christian.koenig@amd.com>
Tue, 21 Apr 2020 14:20:26 +0000 (16:20 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Apr 2020 22:11:49 +0000 (18:11 -0400)
commite09d40bdbac0e37a0179f4cd901e6422619a7ad2
tree36992c944b2618a8ee4907a7d7d86b3a365be034
parenta891d239f9e036031f9f1c62fe584232662cb7f1
drm/amdgpu: change how we update mmRLC_SPM_MC_CNTL

In pp_one_vf mode avoid the extra overhead and read/write the
registers without the KIQ.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Monk Liu <monk.liu@amd.com>
Acked-by: Yintian Tao <yintian.tao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c