From: Mustapha Ghaddar <mghaddar@xxxxxxx> Use dpia_validate_usb4_bw() function Fixes: 6d86146dd62f ("drm/amd/display: Add function pointer for validate bw usb4") Reviewed-by: Roman Li <roman.li@xxxxxxx> Reviewed-by: Meenakshikumar Somasundaram <meenakshikumar.somasundaram@xxxxxxx> Acked-by: Aurabindo Pillai <aurabindo.pillai@xxxxxxx> Signed-off-by: Mustapha Ghaddar <mghaddar@xxxxxxx> --- drivers/gpu/drm/amd/display/dc/link/link_validation.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/amd/display/dc/link/link_validation.c b/drivers/gpu/drm/amd/display/dc/link/link_validation.c index d4b7da526f0a..e8b2fc4002a5 100644 --- a/drivers/gpu/drm/amd/display/dc/link/link_validation.c +++ b/drivers/gpu/drm/amd/display/dc/link/link_validation.c @@ -359,5 +359,8 @@ bool link_validate_dpia_bandwidth(const struct dc_stream_state *stream, const un link[i] = stream[i].link; bw_needed[i] = dc_bandwidth_in_kbps_from_timing(&stream[i].timing); } + + ret = dpia_validate_usb4_bw(link, bw_needed, num_streams); + return ret; } -- 2.40.0