aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/modules/power/power_helpers.h
diff options
context:
space:
mode:
authorDavid Zhang <dingchen.zhang@amd.com>2022-03-23 23:11:48 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-04-13 09:14:22 -0400
commit9dd941015718c1387d6f7f61bd4394d38d273c50 (patch)
treec3f98e9b3a7a7677fff46452816736473ece8dc0 /drivers/gpu/drm/amd/display/modules/power/power_helpers.h
parent72907bff3bd346ef4879bd1dfc89ba12133da368 (diff)
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 <Pavle.Kotarac@amd.com> Acked-by: Tom Chung <chiahsuan.chung@amd.com> Signed-off-by: David Zhang <dingchen.zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
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.h1
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_ */