mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 23:03:57 -04:00
drm/amd/display: Set dispclk and dprefclock directly
[Why] To simply logic for setting DCN specific clocks, we will send SMU message directly through the VBIOS message box. [How] Add new structure in pp_smu to hold functions to set clocks through vbios message box Signed-off-by: Eric Yang <Eric.Yang2@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:
@@ -80,6 +80,7 @@ struct pp_smu_funcs_rv {
|
||||
/* PPSMC_MSG_SetDisplayCount
|
||||
* 0 triggers S0i2 optimization
|
||||
*/
|
||||
|
||||
void (*set_display_count)(struct pp_smu *pp, int count);
|
||||
|
||||
/* reader and writer WM's are sent together as part of one table*/
|
||||
@@ -115,7 +116,6 @@ struct pp_smu_funcs_rv {
|
||||
|
||||
/* PME w/a */
|
||||
void (*set_pme_wa_enable)(struct pp_smu *pp);
|
||||
|
||||
};
|
||||
|
||||
struct pp_smu_funcs {
|
||||
|
||||
Reference in New Issue
Block a user