-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPSTREAM: drm/i915/gen9: Turn DC handling into a power well
Handle DC off as a power well where enabling the power well will prevent the DMC to enter selected DC states (required around modesets and Aux A). Disabling the power well will allow DC states again. For now the highest DC state is DC6 for Skylake and DC5 for Broxton but will be configurable for Skylake in a later patch. v2: Check both DC5 and DC6 bits in power well enabled function (Ville) v3: - Remove unneeded DC_OFF case in skl_set_power_well() (Imre) - Add PW2 dependency to DC_OFF (Imre) v4: Put DC_OFF before PW2 in BXT power well array Signed-off-by: Patrik Jakobsson <patrik.jakobsson@linux.intel.com> Reviewed-by: Imre Deak <imre.deak@intel.com> [fixed line over 80 and parenthesis alignment checkpatch warns (imre)] Link: http://patchwork.freedesktop.org/patch/msgid/1447687201-24759-1-git-send-email-patrik.jakobsson@linux.intel.com (cherry picked from commit 9f836f9 git://anongit.freedesktop.org/drm-intel drm-intel-next-queued) Signed-off-by: Joe Konno <joe.konno@intel.com> BUG=chrome-os-partner:41884 TEST=Use powertop to verify PC8 and PC10 residencies with screen On/Off TEST=Verify PSR status with a PSR enabled display Change-Id: I40db917dcb738aead7757ffd86d0e2d12f1660ba Reviewed-on: https://chromium-review.googlesource.com/315862 Commit-Ready: Marc Herbert <marc.herbert@intel.com> Tested-by: Prathyushi Nangia <prathyushi.nangia@intel.com> Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
- Loading branch information
Patrik Jakobsson
authored and
chrome-bot
committed
Jan 15, 2016
1 parent
43eedad
commit 28cd654
Showing
4 changed files
with
90 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters