Commit 9295f111 authored by Fatemeh Darbehani's avatar Fatemeh Darbehani Committed by Alex Deucher

drm/amd/display: Add SMU version field to clk_mgr_internal

For some platforms, we need to know SMU version for driver/SMU
compatibility. This change adds that field.
Signed-off-by: default avatarFatemeh Darbehani <fatemeh.darbehani@amd.com>
Reviewed-by: default avatarYongqiang Sun <yongqiang.sun@amd.com>
Acked-by: default avatarLeo Li <sunpeng.li@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 057fc695
...@@ -191,6 +191,7 @@ struct state_dependent_clocks { ...@@ -191,6 +191,7 @@ struct state_dependent_clocks {
struct clk_mgr_internal { struct clk_mgr_internal {
struct clk_mgr base; struct clk_mgr base;
int smu_ver;
struct pp_smu_funcs *pp_smu; struct pp_smu_funcs *pp_smu;
struct clk_mgr_internal_funcs *funcs; struct clk_mgr_internal_funcs *funcs;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment