drm/amdgpu: init vega10 SR-IOV reg access mode
authorTrigger Huang <Trigger.Huang@amd.com>
Thu, 9 May 2019 09:32:59 +0000 (17:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:20:50 +0000 (12:20 -0500)
commit78d481126795e9e4740204df95572d9731a6d34e
treef41e7022cd50d2634c7e01148b02530d7bafd3b5
parente79a04d531478e4ccbd3c22288b1229677e1e489
drm/amdgpu: init vega10 SR-IOV reg access mode

Set different register access mode according to the features
provided by firmware

Signed-off-by: Trigger Huang <Trigger.Huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c