]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/dp_tunnel: Send BW change notification after tunnel creation
authorImre Deak <imre.deak@intel.com>
Thu, 19 Feb 2026 18:28:23 +0000 (20:28 +0200)
committerImre Deak <imre.deak@intel.com>
Wed, 25 Feb 2026 13:30:23 +0000 (15:30 +0200)
commit230f8c9956c0069c509bf75bac6bf1a4f7b26dd8
treefcda8364a127d582c39d0431d04a334e353c8dcf
parent23a5fd5bec4dc36345213cf909db4b7f6a17c669
drm/i915/dp_tunnel: Send BW change notification after tunnel creation

Detecting a bandwidth change for a sink connected through a DP tunnel
depends on updating the sink's DPRX link rate and lane count.

detect_new_tunnel() -> update_tunnel_state() updates the link
configuration only if the tunnel state changes. However, after the
tunnel is created and bandwidth allocation mode is enabled, the tunnel
state itself may remain unchanged.

Record the sink bandwidth before creating the tunnel and compare it to
the bandwidth after tunnel creation and enabling bandwidth allocation
mode, ensuring that any bandwidth change is detected and userspace is
notified accordingly.

Reviewed-by: Arun R Murthy <arun.r.murthy@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20260219182823.926702-6-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp_tunnel.c