]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dp: return proper DPRX link training result
authorLee Shawn C <shawn.c.lee@intel.com>
Tue, 6 Jul 2021 15:25:41 +0000 (23:25 +0800)
committerJani Nikula <jani.nikula@intel.com>
Tue, 14 Sep 2021 07:56:32 +0000 (10:56 +0300)
commit4f12f744c5cfbd42689dc1b0f3c8ffbcd1934807
tree485d07083d719a142dffe7c47e9deb8fded5fc01
parent4ce062870c70d404088bf50de34ea03772413b4e
drm/i915/dp: return proper DPRX link training result

After DPRX link training, intel_dp_link_train_phy() did not
return the training result properly. If link training failed,
i915 driver would not run into link train fallback function.
And no hotplug uevent would be received by user space application.

Fixes: d3297d093260 ("drm/i915: Switch to LTTPR non-transparent mode link training")
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Cooper Chiou <cooper.chiou@intel.com>
Cc: William Tseng <william.tseng@intel.com>
Signed-off-by: Lee Shawn C <shawn.c.lee@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210706152541.25021-1-shawn.c.lee@intel.com
(cherry picked from commit dab1b47e57e053b2a02c22ead8e7449f79961335)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_dp_link_training.c