drm/i915: Sanity check PPS HW state
authorImre Deak <imre.deak@intel.com>
Thu, 16 Jun 2016 17:01:46 +0000 (20:01 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 22 Jun 2016 16:16:54 +0000 (19:16 +0300)
commitde9c1b6b088ca2795594ff58e1778de668821db3
tree36ebcb2e1909583c3e0bdd24990c8970e8034297
parent546486184c46070d83e08cc69e039e82021c6fc6
drm/i915: Sanity check PPS HW state

The wait for panel status helper will only function correctly if the
HW panel timings are programmed correctly. Returning prematurely from
this helper may lead to obscure bugs later, so sanity check the HW
timing registers.

v2:
- Check the T8, T9 fields too, we do program them (Ville)

CC: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1466096506-11937-1-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/intel_dp.c