diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-04-08 12:11:12 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-04-11 17:12:16 +0100 |
commit | eae2c43b1233f81f594d1eb5fd06b897bb18b629 (patch) | |
tree | dfeadbf492274ae9c31ccc6918152c2c52fd9795 /include/drm | |
parent | 0a798eb92e6dcc1cba45d13d7b75a523e5d0fc4c (diff) | |
download | blackbird-op-linux-eae2c43b1233f81f594d1eb5fd06b897bb18b629.tar.gz blackbird-op-linux-eae2c43b1233f81f594d1eb5fd06b897bb18b629.zip |
drm/i915/shrinker: Restrict vmap purge to objects with vmaps
When called because we have run out of vmap address space, we only need
to recover objects that have vmappings and not all.
v2: Start using is_vmalloc_addr()
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1460113874-17366-5-git-send-email-chris@chris-wilson.co.uk
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions