diff options
| author | Bhawanpreet Lakha <[email protected]> | 2023-05-12 18:26:10 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-08-07 21:14:07 +0000 |
| commit | dede1fea4460e734f0ef85875718a036bdd18649 (patch) | |
| tree | fe5d0de6fa04c81093c22438fb4cb0ee20935a8d /drivers/gpu/drm/amd/display/modules/power/power_helpers.h | |
| parent | drm/amd/pm: update smu_v13_0_6 message vf flag (diff) | |
| download | kernel-dede1fea4460e734f0ef85875718a036bdd18649.tar.gz kernel-dede1fea4460e734f0ef85875718a036bdd18649.zip | |
drm/amd/display: Add Freesync Panel DM code
We need certain conditions for replay to be enabled, so create an
interface in DM to enable/disable replay.
Signed-off-by: Bhawanpreet Lakha <[email protected]>
Reviewed-by: Harry Wentland <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/power/power_helpers.h')
| -rw-r--r-- | drivers/gpu/drm/amd/display/modules/power/power_helpers.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/modules/power/power_helpers.h b/drivers/gpu/drm/amd/display/modules/power/power_helpers.h index ffc924c9991b..d9e0d67d67f7 100644 --- a/drivers/gpu/drm/amd/display/modules/power/power_helpers.h +++ b/drivers/gpu/drm/amd/display/modules/power/power_helpers.h @@ -53,6 +53,8 @@ bool dmub_init_abm_config(struct resource_pool *res_pool, struct dmcu_iram_parameters params, unsigned int inst); +void init_replay_config(struct dc_link *link, struct replay_config *pr_config); + bool is_psr_su_specific_panel(struct dc_link *link); void mod_power_calc_psr_configs(struct psr_config *psr_config, struct dc_link *link, |
