drm/i915/bxt: Wait for PHY1 GRC calibration synchronously
authorImre Deak <imre.deak@intel.com>
Mon, 13 Jun 2016 13:44:32 +0000 (16:44 +0300)
committerImre Deak <imre.deak@intel.com>
Mon, 13 Jun 2016 15:46:08 +0000 (18:46 +0300)
commite4c49e0f1069b338a28622595dfaf6616f7662c1
treee8f3d3e1bb158e0c099a680912764e8ca820c5f7
parent94bb489c89c4ca7dc36bfbe50e77f26d8458e347
drm/i915/bxt: Wait for PHY1 GRC calibration synchronously

A follow-up patch moves the PHY enabling to the power well code where
enabling/disabling the PHYs will happen independently. Because of this
waiting for the GRC calibration in PHY1 asynchronously would need some
additional logic. Instead of adding that let's keep things simple for now
and wait synchronously. My measurements showed that the calibration
takes ~4ms.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/intel_ddi.c