From: Rex Zhu Date: Wed, 7 Dec 2016 08:06:38 +0000 (+0800) Subject: drm/amdgpu: disable uvd pg on Tonga. X-Git-Tag: v4.10-rc1~19^2~2^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=54971406b7731efd5dbe0b1ccc42dfbd8af1f3b2;p=platform%2Fkernel%2Flinux-exynos.git 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 Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org --- diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c index 9f771f4..6d49254 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: