drm/amdgpu/virt: use kiq to access registers (v2)
authorXiangliang Yu <Xiangliang.Yu@amd.com>
Thu, 12 Jan 2017 06:29:34 +0000 (14:29 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Jan 2017 16:13:23 +0000 (11:13 -0500)
commitbc992ba5a3c19c79873fab46f17dcb20a9b84a85
tree23cf12855d672c087c867748c68fb69db7fcf551
parent5ec9f06e105dabaaa6b7b9f3b230ddff39b6837f
drm/amdgpu/virt: use kiq to access registers (v2)

For virtualization, it is must for driver to use KIQ to access
registers when it is out of GPU full access mode.

v2: agd: rebase

Signed-off-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Monk Liu <Monk.Liu@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/vi.c