summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2014-06-02 15:21:10 +0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-06-05 10:52:45 +0400
commitb8c000d9bf23e7c1155ef421f595d1cbc25262da (patch)
treecce738abf1cdefc4c6f0dae0b985365803661853 /tools/perf/scripts/python/check-perf-trace.py
parent4b0e333ee1100e621c5530d368a3029d41131214 (diff)
downloadlinux-b8c000d9bf23e7c1155ef421f595d1cbc25262da.tar.xz
drm/i915: fix display power sw state reporting
Atm, we refcount both power domains and power wells and intel_display_power_enabled_sw() returns the power domain refcount. What the callers are really interested in though is the sw state of the underlying power wells. Due to this we will report incorrectly that a given power domain is off if its power wells were enabled via another power domain, for example POWER_DOMAIN_INIT which enables all power wells. As a fix return instead the state based on the refcount of all power wells included in the passed in power domain. References: https://bugs.freedesktop.org/show_bug.cgi?id=79505 References: https://bugs.freedesktop.org/show_bug.cgi?id=79038 Reported-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions