diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0409-drm-amd-powerplay-show-uvd-vce-power-gate-info-for-f.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0409-drm-amd-powerplay-show-uvd-vce-power-gate-info-for-f.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0409-drm-amd-powerplay-show-uvd-vce-power-gate-info-for-f.patch b/common/recipes-kernel/linux/files/0409-drm-amd-powerplay-show-uvd-vce-power-gate-info-for-f.patch new file mode 100644 index 00000000..0b0d8e64 --- /dev/null +++ b/common/recipes-kernel/linux/files/0409-drm-amd-powerplay-show-uvd-vce-power-gate-info-for-f.patch @@ -0,0 +1,39 @@ +From 0808f1693925fb6c5719868c873d2f7c57927291 Mon Sep 17 00:00:00 2001 +From: Rex Zhu <Rex.Zhu@amd.com> +Date: Tue, 1 Mar 2016 17:02:51 +0800 +Subject: [PATCH 0409/1110] drm/amd/powerplay: show uvd/vce power gate info for + fiji + +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/fiji_hwmgr.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.c +index 5cca2ec..51dedf8 100644 +--- a/drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.c ++++ b/drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.c +@@ -4275,7 +4275,6 @@ static int fiji_populate_and_upload_sclk_mclk_dpm_levels( + if (data->need_update_smu7_dpm_table & DPMTABLE_OD_UPDATE_MCLK) { + dpm_table->mclk_table.dpm_levels + [dpm_table->mclk_table.count - 1].value = mclk; +- + if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, + PHM_PlatformCaps_OD6PlusinACSupport) || + phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, +@@ -4886,6 +4885,10 @@ static void fiji_print_current_perforce_level( + activity_percent >>= 8; + + seq_printf(m, "\n [GPU load]: %u%%\n\n", activity_percent > 100 ? 100 : activity_percent); ++ ++ seq_printf(m, "uvd %sabled\n", data->uvd_power_gated ? "dis" : "en"); ++ ++ seq_printf(m, "vce %sabled\n", data->vce_power_gated ? "dis" : "en"); + } + + static int fiji_program_display_gap(struct pp_hwmgr *hwmgr) +-- +2.7.4 + |