summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-02-08 10:47:10 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2017-02-08 16:24:42 +0000
commit519d52498156b07c4bc69ad28ab8f784cc124628 (patch)
tree366f6ab808d0b0ec7a682bc8df52dd8ffdb95a4f /tools/perf/scripts/python/export-to-postgresql.py
parentceb993201cf270a178671611a15a3b2037434ef1 (diff)
downloadkernel-519d52498156b07c4bc69ad28ab8f784cc124628.tar.gz
drm/i915: i915_gem_shrink_all() needs an awake device
Since to unbind an object, we may need a powered up device to access the GTT entries, we only shrink bound objects if awake. Callers to i915_gem_shrink_all() had to take this into account and take the rpm wakeref, but we can move this wakeref into the shrink_all itself for convenience and making the function live up to its name. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/20170208104710.18089-1-chris@chris-wilson.co.uk Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions