]> www.infradead.org Git - users/willy/xarray.git/commit
drm/i915/dp: Send only a single modeset-retry uevent for a commit
authorImre Deak <imre.deak@intel.com>
Mon, 22 Jul 2024 16:54:55 +0000 (19:54 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 31 Jul 2024 15:45:59 +0000 (18:45 +0300)
commita4530e20faddcc4ef4e5939f186a8560c71a5e94
tree5bcf7bb44da47d2ecdb7f10a3b6a63236f52904b
parenta3f91f405aa7c54d0856c1b8698e4ff05ae7d439
drm/i915/dp: Send only a single modeset-retry uevent for a commit

There are multiple failure cases a modeset-retry uevent can be sent for
a link (TBT tunnel BW allocation failure, unrecoverable link training
failure), a follow-up patch adding the handling for a new case where the
DP MST payload allocation fails. The uevent is the same in all cases,
sent to all the connectors on the link, so in case of multiple failures
there is no point in sending a separate uevent for each failure; prevent
this, sending only a single modeset-retry uevent for a commit.

Reviewed-by: Arun R Murthy <arun.r.murthy@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240722165503.2084999-7-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_display_types.h
drivers/gpu/drm/i915/display/intel_dp.c