mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 23:52:08 +02:00
drm/amd/display: Add static pg implementations for future use
[Why & How] Add static pg implementations and debug flags for future use. Reviewed-by: Duncan Ma <duncan.ma@amd.com> Signed-off-by: Leo Chen <leo.chen@amd.com> Signed-off-by: Ivan Lipski <ivan.lipski@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
a8a21bafa1
commit
c5c33903d7
|
|
@ -819,6 +819,7 @@ enum pg_hw_resources {
|
|||
PG_DCHVM,
|
||||
PG_DWB,
|
||||
PG_HPO,
|
||||
PG_DCOH,
|
||||
PG_HW_RESOURCES_NUM_ELEMENT
|
||||
};
|
||||
|
||||
|
|
@ -962,6 +963,9 @@ struct dc_debug_options {
|
|||
bool disable_dsc_power_gate;
|
||||
bool disable_optc_power_gate;
|
||||
bool disable_hpo_power_gate;
|
||||
bool disable_io_clk_power_gate;
|
||||
bool disable_mem_power_gate;
|
||||
bool disable_dio_power_gate;
|
||||
int dsc_min_slice_height_override;
|
||||
int dsc_bpp_increment_div;
|
||||
bool disable_pplib_wm_range;
|
||||
|
|
|
|||
|
|
@ -46,6 +46,8 @@ struct pg_cntl_funcs {
|
|||
void (*opp_pg_control)(struct pg_cntl *pg_cntl, unsigned int opp_inst, bool power_on);
|
||||
void (*optc_pg_control)(struct pg_cntl *pg_cntl, unsigned int optc_inst, bool power_on);
|
||||
void (*dwb_pg_control)(struct pg_cntl *pg_cntl, bool power_on);
|
||||
void (*mem_pg_control)(struct pg_cntl *pg_cntl, bool power_on);
|
||||
void (*dio_pg_control)(struct pg_cntl *pg_cntl, bool power_on);
|
||||
void (*init_pg_status)(struct pg_cntl *pg_cntl);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user