summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorRex Zhu2016-12-07 09:06:38 +0100
committerAlex Deucher2016-12-15 21:16:21 +0100
commit54971406b7731efd5dbe0b1ccc42dfbd8af1f3b2 (patch)
treeb3c5bd3e3d36e0729ea7c5eed1f4542be074fb4e /drivers/gpu
parentMerge branch 'linux-4.10' of git://github.com/skeggsb/linux into drm-next (diff)
downloadkernel-qcow2-linux-54971406b7731efd5dbe0b1ccc42dfbd8af1f3b2.tar.gz
kernel-qcow2-linux-54971406b7731efd5dbe0b1ccc42dfbd8af1f3b2.tar.xz
kernel-qcow2-linux-54971406b7731efd5dbe0b1ccc42dfbd8af1f3b2.zip
drm/amdgpu: disable uvd pg on Tonga.
it does not work with GPU pass through if the VM is not cleanly shutdown leading to a hang when the modules is reloaded. Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/vi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c
index 9f771f4ffcb7..6d49254636b8 100644
--- a/drivers/gpu/drm/amd/amdgpu/vi.c
+++ b/drivers/gpu/drm/amd/amdgpu/vi.c
@@ -933,7 +933,7 @@ static int vi_common_early_init(void *handle)
break;
case CHIP_TONGA:
adev->cg_flags = AMD_CG_SUPPORT_UVD_MGCG;
- adev->pg_flags = AMD_PG_SUPPORT_UVD;
+ adev->pg_flags = 0;
adev->external_rev_id = adev->rev_id + 0x14;
break;
case CHIP_POLARIS11: