diff options
Diffstat (limited to 'meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0716-drm-amd-powerplay-add-new-function-point-in-hwmgr_fu.patch')
-rw-r--r-- | meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0716-drm-amd-powerplay-add-new-function-point-in-hwmgr_fu.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0716-drm-amd-powerplay-add-new-function-point-in-hwmgr_fu.patch b/meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0716-drm-amd-powerplay-add-new-function-point-in-hwmgr_fu.patch new file mode 100644 index 00000000..abc2964e --- /dev/null +++ b/meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0716-drm-amd-powerplay-add-new-function-point-in-hwmgr_fu.patch @@ -0,0 +1,32 @@ +From 8fa09ef2ff5b3e68f5e7664701299c3dd89cf12b Mon Sep 17 00:00:00 2001 +From: Rex Zhu <Rex.Zhu@amd.com> +Date: Wed, 30 Sep 2015 13:28:49 +0800 +Subject: [PATCH 0716/1050] drm/amd/powerplay: add new function point in + hwmgr_func for CG/PG. + +Add callbacks interface for clock and powergating. + +Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> +Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com> +Reviewed-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h +index 2370a72..f90a8b6 100644 +--- a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h ++++ b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h +@@ -288,6 +288,9 @@ struct pp_hwmgr_func { + int (*enable_clock_power_gating)(struct pp_hwmgr *hwmgr); + int (*notify_smc_display_config_after_ps_adjustment)(struct pp_hwmgr *hwmgr); + int (*display_config_changed)(struct pp_hwmgr *hwmgr); ++ int (*disable_clock_power_gating)(struct pp_hwmgr *hwmgr); ++ int (*update_clock_gatings)(struct pp_hwmgr *hwmgr, ++ const uint32_t *msg_id); + }; + + struct pp_table_func { +-- +1.9.1 + |