drm/amdgpu/virt: skip VM fault handler for VF
authorPixel Ding <Pixel.Ding@amd.com>
Mon, 6 Feb 2017 09:32:22 +0000 (17:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:52:38 +0000 (23:52 -0400)
commitedcafc0294589d5ad1220565ffd674007337cdc7
tree417eae0053def3f19dad2c34ab506f1a3174f6c9
parent4726214c542d3b547bd48587cd741d00cdb5086b
drm/amdgpu/virt: skip VM fault handler for VF

VF uses KIQ to access registers. When VM fault occurs, the driver
can't get back the fence of KIQ submission and runs into CPU soft
lockup.

Signed-off-by: Pixel Ding <Pixel.Ding@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c