diff options
author | 2023-04-28 12:13:21 -0400 | |
---|---|---|
committer | 2023-05-18 09:58:35 -0400 | |
commit | 6d600229df1ed06f46ba68ac706d9f44ba8c5fb4 (patch) | |
tree | cb61c75c216d9a9549770ee7d8be617dce0f9e98 | |
parent | drm/amd/pm: fix possible power mode mismatch between driver and PMFW (diff) | |
download | linux-6d600229df1ed06f46ba68ac706d9f44ba8c5fb4.tar.gz linux-6d600229df1ed06f46ba68ac706d9f44ba8c5fb4.tar.bz2 linux-6d600229df1ed06f46ba68ac706d9f44ba8c5fb4.zip |
drm/amd/display: enable dpia validate
Use dpia_validate_usb4_bw() function
Fixes: a8b537605e22 ("drm/amd/display: Add function pointer for validate bw usb4")
Reviewed-by: Roman Li <roman.li@amd.com>
Reviewed-by: Meenakshikumar Somasundaram <meenakshikumar.somasundaram@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@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>
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/link/link_validation.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |