diff options
| author | Praveen Paneri <[email protected]> | 2016-05-02 14:10:29 +0530 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2016-05-02 14:02:27 +0100 |
| commit | ea9d9768a497e23713366a0e2ca290332bc1ed81 (patch) | |
| tree | 94d5317ac7eb21324f9adb2a9b19cef54605c09d /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 178a30c90ac74e661eb8c3703eff0daaa0aaf38f (diff) | |
drm/i915: Add rpm get/put in oom and vmap notifier
i915_gem_shrink() will scan the bound list only if device is not
suspended but in OOM failure scenario it becomes absolutely necessary
to release as much memory as possible. Also in allocation failure from
vmap address space, it is incumbent on the Driver to reap all its
vmaps. So, adding rpm get/put in i915_gem_shrinker_oom() and
i915_gem_shrinker_vmap() to ensure shrinking of bound objects as well.
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