diff options
author | Maarten Lankhorst <[email protected]> | 2021-10-28 13:58:53 +0100 |
---|---|---|
committer | Matthew Auld <[email protected]> | 2021-11-05 09:22:45 +0000 |
commit | c10a652e239e21492525fab295dc2fc303338ef1 (patch) | |
tree | 949339d729633901999d38e291a835c6e068c0ac /lib/mpi/mpi-inv.c | |
parent | 52a743f1c114727cfd51aefe584c7a4d82375acc (diff) |
drm/i915/selftests: Rework context handling in hugepages selftests
In the next commit, we don't evict when refcount = 0, so we need to
call drain freed objects, because we want to pin new bo's in the same
place, causing a test failure.
Furthermore, since each subtest is separated, it's a lot better to use
i915_live_selftests, so each subtest starts with a clean slate, and a
clean address space.
v2(Reported-by: kernel test robot <[email protected]>):
- Make hugepage_ctx static.
Signed-off-by: Maarten Lankhorst <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Signed-off-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