aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0198-drm-amd-powerplay-tonga-disable-vce-pg.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0198-drm-amd-powerplay-tonga-disable-vce-pg.patch')
-rw-r--r--common/recipes-kernel/linux/files/0198-drm-amd-powerplay-tonga-disable-vce-pg.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0198-drm-amd-powerplay-tonga-disable-vce-pg.patch b/common/recipes-kernel/linux/files/0198-drm-amd-powerplay-tonga-disable-vce-pg.patch
new file mode 100644
index 00000000..596f6bad
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0198-drm-amd-powerplay-tonga-disable-vce-pg.patch
@@ -0,0 +1,29 @@
+From d7e964ff129e3993f212282fe59b1c8e8412e8f0 Mon Sep 17 00:00:00 2001
+From: Alex Deucher <alexander.deucher@amd.com>
+Date: Thu, 4 Feb 2016 23:48:51 -0500
+Subject: [PATCH 0198/1110] drm/amd/powerplay/tonga: disable vce pg
+
+Not working reliably yet.
+
+Reviewed-by: Eric Huang <JinHuiEric.Huang@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c
+index 7518caa..69c81c1 100644
+--- a/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c
++++ b/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c
+@@ -4617,6 +4617,8 @@ int tonga_hwmgr_backend_init(struct pp_hwmgr *hwmgr)
+
+ phm_cap_unset(hwmgr->platform_descriptor.platformCaps,
+ PHM_PlatformCaps_UVDPowerGating);
++ phm_cap_unset(hwmgr->platform_descriptor.platformCaps,
++ PHM_PlatformCaps_VCEPowerGating);
+
+ if (0 == result) {
+ struct cgs_system_info sys_info = {0};
+--
+2.7.4
+