aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPraveen Paneri <[email protected]>2016-05-02 14:10:28 +0530
committerChris Wilson <[email protected]>2016-05-02 14:02:09 +0100
commit178a30c90ac74e661eb8c3703eff0daaa0aaf38f (patch)
treefc580309042c5fb74ddbf50b2262699da0359f93 /tools/perf/scripts/python/export-to-postgresql.py
parenta0cbe6a3f1c0e86342965430b4a775b5d35b416b (diff)
drm/i915: Unbind objects in shrinker only if device is runtime active
When the system is running low on memory, gem shrinker is invoked. In this process objects will be unbounded from GTT and unbinding process will require access to GTT(GTTADR) and also to fence register potentially. That requires a resume of gfx device, if suspended, in the shrinker path. Considering the power leakage due to intermediate resume, perform unbinding operation only if device is already runtime active. v2: Use newly implemented intel_runtime_pm_get_if_in_use (Chris) Signed-off-by: Akash Goel <[email protected]> Signed-off-by: Praveen Paneri <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Chris Wilson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions