drm/i915: Hack to tie both common lanes together on chv
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 27 Jun 2014 16:49:57 +0000 (19:49 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 8 Aug 2014 15:43:56 +0000 (17:43 +0200)
commit3dd7b97458e8aa2d8985b46622d226fa635071e7
treeefa9cc74dc12fbd04aeafa498f9f9d3ecf9a4b3b
parent3c2777fd2faa5d1c1d5867baa086f2fd8b05479e
drm/i915: Hack to tie both common lanes together on chv

It looks like frobbing the cmnreset line on pne PHY disturbs the other
PHY on chv. The result is a black screen. On HDMI it's just a flash of
black, but DP usually falls over and can't get back up.

As a workaround set up the power domains so that both common lane
wells power up and down together. I also tried leaving the cmnreset
deasserted even the if the power well goes down but that didn't seem
acceptable to the PHY.

Reviewed-by: Rafael Barbalho <rafael.barbalho@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c