diff options
author | Imre Deak | 2013-11-25 16:15:30 +0100 |
---|---|---|
committer | Daniel Vetter | 2013-11-26 20:06:11 +0100 |
commit | 6f3ef5ddabc0ad321678ee091c75b1f082a42707 (patch) | |
tree | 7a7acf9d5952f21d5062fc3508df0eaf769863e3 /REPORTING-BUGS | |
parent | drm/i915: support for multiple power wells (diff) | |
download | kernel-qcow2-linux-6f3ef5ddabc0ad321678ee091c75b1f082a42707.tar.gz kernel-qcow2-linux-6f3ef5ddabc0ad321678ee091c75b1f082a42707.tar.xz kernel-qcow2-linux-6f3ef5ddabc0ad321678ee091c75b1f082a42707.zip |
drm/i915: add always-on power wells instead of special casing them
Instead of using a separate function to check whether a power domain is
is always on, add an always-on power well covering all these power
domains and do the usual get/put on these unconditionally. Since we
don't assign a .set handler for these the get/put won't have any effect
besides the adjusted refcount.
This makes the code more readable and provides debug info also on the
use of always-on power wells (once the relevant debugfs entry is added.)
v3: make is_always_on to be bool instead of a bit field (Paulo)
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Paulo Zanoni <paulo.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions