2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 05:34:00 +08:00

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
This commit is contained in:
Rex Zhu 2016-12-07 16:06:38 +08:00 committed by Alex Deucher
parent 2cf026ae85
commit 54971406b7

View File

@ -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: