]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/lspcon: Fix resume time initialization due to unasserted HPD
authorImre Deak <imre.deak@intel.com>
Fri, 27 Jan 2017 09:39:19 +0000 (11:39 +0200)
committerImre Deak <imre.deak@intel.com>
Mon, 6 Feb 2017 14:33:27 +0000 (16:33 +0200)
commit1c166ed4586125fecb910ea6c1fd2a3555cf1249
treec47a07d71d76816fbba3f61d70e586615a848e2c
parentb8a7d5f0d6f529e49fa32f5c7e064102655ec3a5
drm/i915/lspcon: Fix resume time initialization due to unasserted HPD

During system resume time initialization the HPD level on LSPCON ports
can stay low for an extended amount of time, leading to failed AUX
transfers and LSPCON initialization. Fix this by waiting for HPD to get
asserted.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99178
Cc: Shashank Sharma <shashank.sharma@intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: <stable@vger.kernel.org> # v4.9+
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Shashank Sharma <shashank.sharma@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1485509961-9010-3-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_lspcon.c