]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfc99114fcb17e647add8bcb37a51b0a7d3f9d34c
tree36ebcb2e1909583c3e0bdd24990c8970e8034297
parent8f082414ad0ad2a8794da74ce1a043bef84f721a
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