]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/bxt: Add HW state verification for DDI PHY and CDCLK
authorImre Deak <imre.deak@intel.com>
Mon, 4 Apr 2016 14:27:10 +0000 (17:27 +0300)
committerImre Deak <imre.deak@intel.com>
Fri, 15 Apr 2016 11:48:19 +0000 (14:48 +0300)
commit2d3dbc9ab3f0d25c2eba2cd61ce84d4d85f0c516
treea7bd03920c9a195d6723b41e2d1656e9b95c72db
parent772babbef159c7577dfdef48c36d4b201ce68888
drm/i915/bxt: Add HW state verification for DDI PHY and CDCLK

I caught a few errors in our current PHY/CDCLK programming by sanity
checking the actual programmed state, so I thought it would be also
useful for the future. In addition to verifying the state after
programming it also verify it after exiting DC5, to make sure DMC
restored/kept intact everything related.

v2:
- Inlining __phy_reg_verify_state() doesn't make sense and also
  incorrect, so don't do it (PW/CI gcc)
v3:
- Rebase on latest -nightly

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: David Weinehall <david.weinehall@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1459780030-15781-1-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_runtime_pm.c