commit | cedb28682000cd98bf9bf0de155ef06c7a9d6e4a | [log] [tgz] |
---|---|---|
author | Ben Zhang <[email protected]> | Mon Sep 18 20:52:54 2017 |
committer | ChromeOS Commit Bot <[email protected]> | Wed Oct 11 19:16:05 2017 |
tree | 200d2a9e3597157abc8c6aeaea69d11c1587ab81 | |
parent | 2617ba85b26e7f2b391f9dd998dbf48d1021bebe [diff] |
CHROMIUM: drm/i915: Keep PUNIT_POWER_WELL_DPIO_CMN_BC enabled on Ninja Repeated toggling PUNIT_POWER_WELL_DPIO_CMN_BC during HPD polls for DP connectors eventually leads to system hang. This patch grabs a reference to the power well during power domain init so that the power well is always enabled. The ref is released at late suspend just before init power is off to perserve the existing suspend/resume sequence. BUG=chromium:764813 TEST=No hang after repeated DP detect via sysfs when no external monitor is connected. Suspend/resume with and without external monitor. Change-Id: Ide68ab8c1932a20e9ec13c087e44ae3b69cd73e5 Signed-off-by: Ben Zhang <[email protected]> Reviewed-on: https://chromium-review.googlesource.com/671554 Reviewed-by: Manasi D Navare <[email protected]> Reviewed-by: Rajat Jain <[email protected]> (cherry picked from commit 5b1463937329e39ed67ddae3a72eba584f5ff08f) Reviewed-on: https://chromium-review.googlesource.com/713936