drm/amd/display: Add Validate BW for USB4 Links
authorMustapha Ghaddar <mghaddar@amd.com>
Mon, 27 Feb 2023 13:04:39 +0000 (08:04 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Mar 2023 19:35:32 +0000 (15:35 -0400)
commitd142d4113fd5c3f7afdb48dff4703ae7edddf53d
treee66eb381446b4d3a05f5721cce2351e9e005de16
parent5d04d13954479292dd45e38a46dfa31abb8dc2e0
drm/amd/display: Add Validate BW for USB4 Links

[WHY]
To validate the BW used for DPIAs per HostRouter

[HOW]
Add the Validate function in C source file

Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Mustapha Ghaddar <mghaddar@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_dpia_bw.c
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_dpia_bw.h