aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0195-drm-amd-powerplay-cz-disable-uvd-pg.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0195-drm-amd-powerplay-cz-disable-uvd-pg.patch')
-rw-r--r--common/recipes-kernel/linux/files/0195-drm-amd-powerplay-cz-disable-uvd-pg.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0195-drm-amd-powerplay-cz-disable-uvd-pg.patch b/common/recipes-kernel/linux/files/0195-drm-amd-powerplay-cz-disable-uvd-pg.patch
new file mode 100644
index 00000000..88a0cb9d
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0195-drm-amd-powerplay-cz-disable-uvd-pg.patch
@@ -0,0 +1,29 @@
+From a2c12049cde2f2c0832415f18d00e06f80f01441 Mon Sep 17 00:00:00 2001
+From: Alex Deucher <alexander.deucher@amd.com>
+Date: Thu, 4 Feb 2016 23:40:32 -0500
+Subject: [PATCH 0195/1110] drm/amd/powerplay/cz: disable uvd 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 | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
+index 0874ab4..8fc9e01 100644
+--- a/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
++++ b/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
+@@ -247,6 +247,8 @@ static int cz_initialize_dpm_defaults(struct pp_hwmgr *hwmgr)
+ phm_cap_set(hwmgr->platform_descriptor.platformCaps,
+ PHM_PlatformCaps_DisableVoltageIsland);
+
++ phm_cap_unset(hwmgr->platform_descriptor.platformCaps,
++ PHM_PlatformCaps_UVDPowerGating);
+ return 0;
+ }
+
+--
+2.7.4
+