From: Alan Borzeszkowski Date: Tue, 5 May 2026 14:08:34 +0000 (+0200) Subject: thunderbolt: Improve multi-display DisplayPort tunnel allocation X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=afe9021d63b46233f5c87d52b820fa26e7f562cd;p=thirdparty%2Fkernel%2Fstable.git thunderbolt: Improve multi-display DisplayPort tunnel allocation When 3 monitors are connected through Thunderbolt dock to the system at once, one of the monitors might fail to establish DisplayPort tunnel. This happens during DP bandwidth negotiation - each monitor takes maximum bandwidth that is supported and there might not be enough for 3rd display. In this case Thunderbolt driver drops DP tunnel and 'forgets' about it but with DP bandwidth allocation mode, that comes in later, some bandwidth might be freed. Make Thunderbolt driver check again if DP tunnel can be established after DP bandwidth consumption changed. Signed-off-by: Alan Borzeszkowski Signed-off-by: Mika Westerberg --- diff --git a/drivers/thunderbolt/tb.c b/drivers/thunderbolt/tb.c index a9d26a2ec259..72a0dd27937e 100644 --- a/drivers/thunderbolt/tb.c +++ b/drivers/thunderbolt/tb.c @@ -2849,6 +2849,9 @@ static void tb_handle_dp_bandwidth_request(struct work_struct *work) /* Update other clients about the allocation change */ tb_recalc_estimated_bandwidth(tb); + + tb_dbg(tb, "checking if more DP tunnels can be established now\n"); + tb_tunnel_dp(tb); } put_sw: