diff options
author | Thomas Hellström <[email protected]> | 2021-11-08 13:36:37 +0100 |
---|---|---|
committer | Thomas Hellström <[email protected]> | 2021-11-10 09:01:26 +0100 |
commit | 775affb06a5bc6051f48c935c86c99f849e2da09 (patch) | |
tree | dd898ea78d9f7227a982dc217eca5c63d05cde34 /lib/mpi/mpi-inv.c | |
parent | 08d1ecd98a8fe653d24644f072a87549e8503447 (diff) |
drm/i915/gem: Fix gem_madvise for ttm+shmem objects
Gem-TTM objects that are backed by shmem might have populated
page-vectors without having the GEM pages set. Those objects
aren't moved to the correct shrinker / purge list by gem_madvise.
For such objects, identified by having the
_SELF_MANAGED_SHRINK_LIST set, make sure they end up on the
correct list.
v2:
- Revert a change that made swapped-out objects inaccessible for
truncating. (Matthew Auld)
Signed-off-by: Thomas Hellström <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-inv.c')
0 files changed, 0 insertions, 0 deletions