]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Skip CHV PHY asserts until PHY has been fully reset
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 8 Sep 2015 15:05:45 +0000 (18:05 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 6 Oct 2015 08:29:40 +0000 (10:29 +0200)
commitab7679e0a9de7fdf48768bb5358d5a190fe65c91
tree8de3cd23a7d53e371fce370c42792d3d9da9d121
parentbc4ed6645ea124bd9c333f866c8f475e1b481027
drm/i915: Skip CHV PHY asserts until PHY has been fully reset

The BIOS can leave the CHV display PHY in some odd state where
some of the LDOs/lanes won't power down fully when unused. This
will trigger a host of asserts that were added in:
804dd432bf99d59c3a59e9148543e0f4cc125890 drm/i915: Add CHV PHY LDO power sanity checks
1bdf942ef568a951cabe3eaffed2789771d33102 drm/i915: Add some CHV DPIO lane power state asserts

To avoid that, skip the asserts until the PHY power well has been
disabled at least once. That will fully reset the PHY, and once
brought back up, the dynamic power down features will work correctly.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Deepak S<deepak.s@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_runtime_pm.c