]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915/bxt: add DDI port HW readout support
authorImre Deak <imre.deak@intel.com>
Mon, 22 Jun 2015 20:35:52 +0000 (23:35 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 30 Jun 2015 11:28:18 +0000 (13:28 +0200)
commitaa610dcb7c1999fe3353562340a72196d9a54ae0
tree4724410f0166f537813097f6efcf06b4a62440a8
parentdccbea3b0704c77c5bbd9e5e9240d6eb253d2565
drm/i915/bxt: add DDI port HW readout support

Add support for reading out the HW state for DDI ports. Since the actual
programming is very similar to the CHV/VLV DPIO PLL programming we can
reuse much of the logic from there.

This fixes the state checker failures I saw on my BXT with HDMI output.

v2:
- rebased on v2 of patch 4/5

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_ddi.c