Skip to contentSkip to conversation

FAILED: patch "[PATCH] drm/amdgpu: disable uvd pg on Tonga." failed to apply to 4.9-stable tree

PATCH [email protected] 1 participant 1 message Jan 6, 2017

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

The patch below does not apply to the 4.9-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.

thanks,

greg k-h

------------------ original commit in Linus's tree ------------------

Quoted 1 line

From 54971406b7731efd5dbe0b1ccc42dfbd8af1f3b2 Mon Sep 17 00:00:00 2001

From: Rex Zhu <[email protected]>
Date: Wed, 7 Dec 2016 16:06:38 +0800
Subject: [PATCH] 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.

drivers/gpu/drm/amd/amdgpu/vi.c +1 -1
index 9f771f4ffcb7..6d49254636b8 100644
@@ -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: