OSDN Git Service

drm/amdgpu/sriov: Correct some register program method
authorEmily Deng <Emily.Deng@amd.com>
Fri, 31 May 2019 09:30:39 +0000 (17:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 31 May 2019 15:39:33 +0000 (10:39 -0500)
commitbdb50274d06a1b2445006b9f7458142f7055d081
tree478af0aa799faaa35f7a736cd59204b7dfd83d31
parent443e902eeef96f3bed54a7067c50a07f06074373
drm/amdgpu/sriov: Correct some register program method

For the VF, some registers only could be programmed with RLC.

Signed-off-by: Emily Deng <Emily.Deng@amd.com>
Reviewed-by: Trigger Huang <Trigger.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c