diff options
| author | David Zhang <[email protected]> | 2022-03-24 03:11:48 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-04-13 13:14:22 +0000 |
| commit | 9dd941015718c1387d6f7f61bd4394d38d273c50 (patch) | |
| tree | c3f98e9b3a7a7677fff46452816736473ece8dc0 /drivers/gpu/drm/amd/display/modules/power/power_helpers.h | |
| parent | drm: add PSR2 support and capability definition as per eDP 1.5 (diff) | |
| download | kernel-9dd941015718c1387d6f7f61bd4394d38d273c50.tar.gz kernel-9dd941015718c1387d6f7f61bd4394d38d273c50.zip | |
drm/amd/display: implement shared PSR-SU sink validation helper
[why]
creating a generic helper for AMD specific PSR-SU sink validation.
Moving the function to the power module to reference it across all
OS.
[how]
- drop PSRSU specific sink validation helper and move to power
module by reading PSR version and other PSR caps
- call the new helper from linux DM (amdgpu_dm_psr)
Acked-by: Pavle Kotarac <[email protected]>
Acked-by: Tom Chung <[email protected]>
Signed-off-by: David Zhang <[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 | 1 |
1 files changed, 1 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 2a9f8e2d8080..1a634d8c78c5 100644 --- a/drivers/gpu/drm/amd/display/modules/power/power_helpers.h +++ b/drivers/gpu/drm/amd/display/modules/power/power_helpers.h @@ -52,4 +52,5 @@ bool dmub_init_abm_config(struct resource_pool *res_pool, struct dmcu_iram_parameters params, unsigned int inst); +bool is_psr_su_specific_panel(struct dc_link *link); #endif /* MODULES_POWER_POWER_HELPERS_H_ */ |
