]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/virt: add function to check MMIO (v2)
authorpding <Pixel.Ding@amd.com>
Tue, 24 Oct 2017 02:01:13 +0000 (10:01 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Dec 2017 21:33:13 +0000 (16:33 -0500)
commiteefee854c37d3206a9eae7577b3dd89e3412481b
treeb0a48a1f5025351549fcaee4a5363131d99c82c8
parent65292cf0a36050c9b42afdc965216065cef0c5ca
drm/amdgpu/virt: add function to check MMIO (v2)

MMIO space can be blocked on virtualised device. Add this
function to check if MMIO is blocked or not.

Todo: need a reliable method such like communation
with hypervisor.

v2:
 - add comments inline

Signed-off-by: pding <Pixel.Ding@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h