aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/link/link_validation.h
diff options
context:
space:
mode:
authorMustapha Ghaddar <[email protected]>2023-03-08 10:27:17 -0500
committerAlex Deucher <[email protected]>2023-03-22 00:59:45 -0400
commita8b537605e22bfe277e666727fa0e9e01f2c729b (patch)
tree5af944e163e5d558280d544ba2d97f49bc0f14fd /drivers/gpu/drm/amd/display/dc/link/link_validation.h
parentb5006f873b99a26f8bd36d691c09083495bc0a03 (diff)
drm/amd/display: Add function pointer for validate bw usb4
[WHY] In order to follow the new protocol of calling link functions [HOW] Add the function pointer to the link_srv Reviewed-by: Kshitij Bhardwaj <[email protected]> Acked-by: Qingqing Zhuo <[email protected]> Signed-off-by: Mustapha Ghaddar <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/link/link_validation.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/link/link_validation.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/link/link_validation.h b/drivers/gpu/drm/amd/display/dc/link/link_validation.h
index 2191d3a4950c..4a954317d0da 100644
--- a/drivers/gpu/drm/amd/display/dc/link/link_validation.h
+++ b/drivers/gpu/drm/amd/display/dc/link/link_validation.h
@@ -29,7 +29,11 @@ enum dc_status link_validate_mode_timing(
const struct dc_stream_state *stream,
struct dc_link *link,
const struct dc_crtc_timing *timing);
+bool link_validate_dpia_bandwidth(
+ const struct dc_stream_state *stream,
+ const unsigned int num_streams);
uint32_t dp_link_bandwidth_kbps(
const struct dc_link *link,
const struct dc_link_settings *link_settings);
+
#endif /* __LINK_VALIDATION_H__ */