mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 23:03:57 -04:00
drm/amd/display: Retiring set_display_requirements in dm_pp_smu.h - part2
[Why] In DCN we want direct DAL to SMU calls, with as little as possible interference by pplib. The reason for each pp_smu interface mapping to 1 SMU message is so we can have the sequencing of different SMU message in dal and shared across different OS. This will also simplify debugging as DAL owns this interaction and there's no confusion about division of ownership. [How] Part 2: Separate set_min_deep_sleep_dcfclk message from the SMU messages that are sent as part of dm_pp_apply_clock_for_voltage_request. Directly notify min dcfclk to smu Signed-off-by: Fatemeh Darbehani <fatemeh.darbehani@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
247d167e57
commit
98e90a34cc
@@ -109,7 +109,7 @@ struct pp_smu_funcs_rv {
|
||||
/* PPSMC_MSG_SetHardMinDcfclkByFreq
|
||||
* fixed clock at requested freq, either from FCH bypass or DFS
|
||||
*/
|
||||
void (*set_hard_min_dcfclk_by_freq)(struct pp_smu *pp, int khz);
|
||||
void (*set_hard_min_dcfclk_by_freq)(struct pp_smu *pp, int mhz);
|
||||
|
||||
/* PPSMC_MSG_SetMinDeepSleepDcfclk
|
||||
* when DF is in cstate, dcf clock is further divided down
|
||||
@@ -120,12 +120,12 @@ struct pp_smu_funcs_rv {
|
||||
/* PPSMC_MSG_SetHardMinFclkByFreq
|
||||
* FCLK will vary with DPM, but never below requested hard min
|
||||
*/
|
||||
void (*set_hard_min_fclk_by_freq)(struct pp_smu *pp, int khz);
|
||||
void (*set_hard_min_fclk_by_freq)(struct pp_smu *pp, int mhz);
|
||||
|
||||
/* PPSMC_MSG_SetHardMinSocclkByFreq
|
||||
* Needed for DWB support
|
||||
*/
|
||||
void (*set_hard_min_socclk_by_freq)(struct pp_smu *pp, int khz);
|
||||
void (*set_hard_min_socclk_by_freq)(struct pp_smu *pp, int mhz);
|
||||
|
||||
/* PME w/a */
|
||||
void (*set_pme_wa_enable)(struct pp_smu *pp);
|
||||
|
||||
Reference in New Issue
Block a user