Commit 54971406 authored by Rex Zhu's avatar Rex Zhu Committed by Alex Deucher

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: default avatarRex Zhu <Rex.Zhu@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
parent 2cf026ae
...@@ -933,7 +933,7 @@ static int vi_common_early_init(void *handle) ...@@ -933,7 +933,7 @@ static int vi_common_early_init(void *handle)
break; break;
case CHIP_TONGA: case CHIP_TONGA:
adev->cg_flags = AMD_CG_SUPPORT_UVD_MGCG; 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; adev->external_rev_id = adev->rev_id + 0x14;
break; break;
case CHIP_POLARIS11: case CHIP_POLARIS11:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment