diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0434-drm-amd-powerplay-add-uvd-vce-dpm-enabling-flag-defa.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0434-drm-amd-powerplay-add-uvd-vce-dpm-enabling-flag-defa.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0434-drm-amd-powerplay-add-uvd-vce-dpm-enabling-flag-defa.patch b/common/recipes-kernel/linux/files/0434-drm-amd-powerplay-add-uvd-vce-dpm-enabling-flag-defa.patch new file mode 100644 index 00000000..c65f75ab --- /dev/null +++ b/common/recipes-kernel/linux/files/0434-drm-amd-powerplay-add-uvd-vce-dpm-enabling-flag-defa.patch @@ -0,0 +1,33 @@ +From 9e78dec5ee50b911c85bd350f5c03c7bcbfe58f2 Mon Sep 17 00:00:00 2001 +From: Rex Zhu <Rex.Zhu@amd.com> +Date: Mon, 4 Apr 2016 16:38:55 +0800 +Subject: [PATCH 0434/1110] drm/amd/powerplay: add uvd/vce dpm enabling flag + default. + +These should be set by default otherwise the UVD/VCE performance +won't be optimal. + +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> +--- + drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c b/drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c +index f8b1c44..fa208ad 100644 +--- a/drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c ++++ b/drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c +@@ -58,6 +58,9 @@ void phm_init_dynamic_caps(struct pp_hwmgr *hwmgr) + + phm_cap_unset(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_VpuRecoveryInProgress); + ++ phm_cap_set(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_UVDDPM); ++ phm_cap_set(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_VCEDPM); ++ + if (acpi_atcs_functions_supported(hwmgr->device, ATCS_FUNCTION_PCIE_PERFORMANCE_REQUEST) && + acpi_atcs_functions_supported(hwmgr->device, ATCS_FUNCTION_PCIE_DEVICE_READY_NOTIFICATION)) + phm_cap_set(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_PCIEPerformanceRequest); +-- +2.7.4 + |