drm/amd/pm: Add custom/current freq to pstates
Subsystems (3)
PATCH 1/3 drm/amd/pm: Add custom/current freq to pstates
Add custom member for user requested custom frequency, level mask or min/max frequencies. Add curr member to keep track of the current active values.
Signed-off-by Lijo Lazar <[email protected]>
--- drivers/gpu/drm/amd/pm/inc/amdgpu_smu.h | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/gpu/drm/amd/pm/inc/amdgpu_smu.h +8 -0
@@ -392,10 +392,18 @@ struct smu_baco_contextbool platform_support; }; +struct smu_freq_info { +uint32_t min; +uint32_t max; +uint32_t freq_level; +}; +struct pstates_clk_freq {uint32_t min;uint32_t standard;uint32_t peak; +struct smu_freq_info custom; +struct smu_freq_info curr; };struct smu_umd_pstate_table {
Signature · 6 lines
2.17.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx