drm/amd/powerplay: add uploading pptable and resetting powerplay support
Necessary for re-initializing dpm with new pptables at runtime. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Eric Huang <JinHuiEric.Huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -360,6 +360,8 @@ int amd_powerplay_init(struct amd_pp_init *pp_init,
|
||||
|
||||
int amd_powerplay_fini(void *handle);
|
||||
|
||||
int amd_powerplay_reset(void *handle);
|
||||
|
||||
int amd_powerplay_display_configuration_change(void *handle,
|
||||
const struct amd_pp_display_configuration *input);
|
||||
|
||||
|
@@ -584,6 +584,7 @@ struct pp_hwmgr {
|
||||
struct pp_smumgr *smumgr;
|
||||
const void *soft_pp_table;
|
||||
uint32_t soft_pp_table_size;
|
||||
void *hardcode_pp_table;
|
||||
bool need_pp_table_upload;
|
||||
enum amd_dpm_forced_level dpm_level;
|
||||
bool block_hw_access;
|
||||
|
Reference in New Issue
Block a user