]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/i915: Initialize the PPS HW before its first use
authorImre Deak <imre.deak@intel.com>
Tue, 21 Jun 2016 08:51:48 +0000 (11:51 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 22 Jun 2016 13:16:56 +0000 (16:16 +0300)
commit0080b5da392243af673e752b5681e6388ede7da0
treebb4754d3bb60c1508842f4a821c7b2f302e29c5f
parent97a824e1565e55c5be69f4ab36eb3297aa714091
drm/i915: Initialize the PPS HW before its first use

The initial DPCD read for eDP detection involves using the PPS, but so
far we only initialized the PPS registers after the DPCD read. The
reason this was done so far is to preserve a possible LVDS PPS HW setup
if LVDS is detected but eDP is not. This is not an issue any more after
the previous patch, so we can move the init earlier now.

This was caught by CI with the PPS sanity checks in place and the
initial eDP DPCD readout waiting for the panel power cycle timeout
without the PPS registers being initialized.

CC: Ville Syrjälä <ville.syrjala@linux.intel.com>
CC: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1466499109-20240-3-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/intel_dp.c