aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0196-drm-amd-powerplay-cz-disable-vce-pg.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0196-drm-amd-powerplay-cz-disable-vce-pg.patch')
-rw-r--r--common/recipes-kernel/linux/files/0196-drm-amd-powerplay-cz-disable-vce-pg.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0196-drm-amd-powerplay-cz-disable-vce-pg.patch b/common/recipes-kernel/linux/files/0196-drm-amd-powerplay-cz-disable-vce-pg.patch
new file mode 100644
index 00000000..e0df4709
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0196-drm-amd-powerplay-cz-disable-vce-pg.patch
@@ -0,0 +1,30 @@
+From f78039d1e8572b74304dc832389c02a8f4efb051 Mon Sep 17 00:00:00 2001
+From: Alex Deucher <alexander.deucher@amd.com>
+Date: Thu, 4 Feb 2016 23:42:24 -0500
+Subject: [PATCH 0196/1110] drm/amd/powerplay/cz: 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/cz_hwmgr.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
+index 8fc9e01..80af87f 100644
+--- a/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
++++ b/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
+@@ -249,6 +249,9 @@ static int cz_initialize_dpm_defaults(struct pp_hwmgr *hwmgr)
+
+ phm_cap_unset(hwmgr->platform_descriptor.platformCaps,
+ PHM_PlatformCaps_UVDPowerGating);
++ phm_cap_unset(hwmgr->platform_descriptor.platformCaps,
++ PHM_PlatformCaps_VCEPowerGating);
++
+ return 0;
+ }
+
+--
+2.7.4
+