drm/i915/bxt: Use PHY0 GRC value for HW state verification
authorImre Deak <imre.deak@intel.com>
Wed, 20 Apr 2016 17:46:04 +0000 (20:46 +0300)
committerImre Deak <imre.deak@intel.com>
Fri, 22 Apr 2016 13:30:52 +0000 (16:30 +0300)
commit67856d4d3ccdd4612bcef3a7b624aa33e5b6828d
tree9b1891374f5a047978dbb1643a365f3aed8f867e
parentdf28564d9848358c9a4104d2b4a6c44b384fcc9c
drm/i915/bxt: Use PHY0 GRC value for HW state verification

It's possible that BIOS enables PHY1 only to read out the GRC value from
it to be used in PHY0 and then disables PHY1. In this case we can't use
the PHY1 GRC value for state verification, so use instead the one in PHY0
always.

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/1461174366-16758-2-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/intel_ddi.c