commit | 1da51581b00b3fc3ac72156e2a69c6bab71f7794 | [log] [tgz] |
---|---|---|
author | Imre Deak <imre.deak@intel.com> | Mon Nov 25 17:15:35 2013 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Tue Nov 26 20:08:29 2013 +0100 |
tree | 954f32c347417ae21ddb1fbd6783475be4f1a1ba | |
parent | 1c2256df26f697bcd20016c271ddc8fd44653919 [diff] |
drm/i915: add a debugfs entry for power domain info Add a debugfs entry showing the use-count for all power domains of each power well. v3: address comments from Paulo: - simplify power_domain_str() by using a switch table - move power_well::domain_count to power_domains - WARN_ON decrementing a 0 refcount 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>