aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/display/dc/inc/link.h
diff options
context:
space:
mode:
authorCruise Hung <Cruise.Hung@amd.com>2025-06-03 14:30:59 +0800
committerAlex Deucher <alexander.deucher@amd.com>2025-06-24 09:55:35 -0400
commit7beee6e91c20f297d2eba90397fe44938138f3b8 (patch)
treebb03778248de4d2fef9c4a55c5f2e96fb8c308fa /drivers/gpu/drm/amd/display/dc/inc/link.h
parentdrm/amd/display: Removed unnecessary comment (diff)
downloadwireguard-linux-7beee6e91c20f297d2eba90397fe44938138f3b8.tar.xz
wireguard-linux-7beee6e91c20f297d2eba90397fe44938138f3b8.zip
drm/amd/display: Add new DP tunnel bandwidth validation
[Why & How] Add new function for DP tunnel bandwidth validation. It uses the estimated BW and allocated BW to validate the timings. Reviewed-by: PeiChen Huang <peichen.huang@amd.com> Reviewed-by: Meenakshikumar Somasundaram <meenakshikumar.somasundaram@amd.com> Signed-off-by: Cruise Hung <Cruise.Hung@amd.com> Signed-off-by: Fangzhi Zuo <jerry.zuo@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/link.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/link.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/link.h b/drivers/gpu/drm/amd/display/dc/inc/link.h
index 7d16351bba99..c92f11095254 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/link.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/link.h
@@ -147,6 +147,9 @@ struct link_service {
bool (*validate_dpia_bandwidth)(
const struct dc_stream_state *stream,
const unsigned int num_streams);
+ enum dc_status (*validate_dp_tunnel_bandwidth)(
+ const struct dc *dc,
+ const struct dc_state *new_ctx);
uint32_t (*dp_required_hblank_size_bytes)(
const struct dc_link *link,