]> 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)
commit8def7bf309e23f50a35b17be34a713806083eb78
tree8de3cd23a7d53e371fce370c42792d3d9da9d121
parentd3423339dfb2ad3f723d93ba5145ff4b9a59c25e
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:
8a0035672ff54718d217aa9d4380850c785d8d3c drm/i915: Add CHV PHY LDO power sanity checks
5881d5e97d17d5ef70ba159b1bd15765aea368de 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