]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: fix VDD state tracking after system resume
authorImre Deak <imre.deak@intel.com>
Thu, 31 Jul 2014 11:03:36 +0000 (14:03 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 7 Aug 2014 09:07:17 +0000 (11:07 +0200)
commit6d93c0c41760c018ca02bf4c9164b9fda2184670
tree70f6681f60dfec50783558f359768749467b5722
parentf573de5a8474ae2cfc28424423c5a68c780a904b
drm/i915: fix VDD state tracking after system resume

Just like during booting the BIOS can leave the VDD bit enabled after
system resume. So apply the same state sanitization there too. This
fixes a problem where after resume the port power domain refcount gets
unbalanced.

v2:
- unchanged
v3:
- call edp sanitizing from the encoder reset handler (Daniel)

Reported-and-tested-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c