drm/i915/bxt: Wait for PHY1 GRC done if PHY0 was already enabled
authorImre Deak <imre.deak@intel.com>
Thu, 21 Apr 2016 16:19:21 +0000 (19:19 +0300)
committerImre Deak <imre.deak@intel.com>
Fri, 22 Apr 2016 13:31:53 +0000 (16:31 +0300)
commit01a01ef2eaf0eb90f4582f911e9fbce3f79d55e7
tree1586ce75dab4b7d81cb662767cedee7746b23e40
parent67856d4d3ccdd4612bcef3a7b624aa33e5b6828d
drm/i915/bxt: Wait for PHY1 GRC done if PHY0 was already enabled

If we skipped PHY0 initialization because it was already enabled by
BIOS, we still have to wait for the PHY1 GRC calibration as that is
done as part of the PHY0 init.

v2:
- Use the actual PHY index in the debug message in
  broxton_phy_wait_grc_done() (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/1461255561-1644-1-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/intel_ddi.c