]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/dp: Add debugfs entry to force link training failure
authorImre Deak <imre.deak@intel.com>
Mon, 10 Jun 2024 16:49:31 +0000 (19:49 +0300)
committerImre Deak <imre.deak@intel.com>
Thu, 13 Jun 2024 18:26:49 +0000 (21:26 +0300)
commit0e0af7e052ddd3e5a237977d681ab244459fa828
tree983153cdf8ec11077f3ecb0b7501f5620ecea488
parentfe089d5b9ace6f31e27c1bfa1245d592443aefb7
drm/i915/dp: Add debugfs entry to force link training failure

Add a connector debugfs entry to force a failure during the following
1-2 link training. The entry will auto-reset after the specified link
training events are complete.

v2: Add the entry from intel_dp_link_training.c (Jani)
v3: Lock connection_mutex only for the required intel_dp state. (Ville)

Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240610164933.2947366-20-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_display_types.h
drivers/gpu/drm/i915/display/intel_dp_link_training.c