diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2021-10-28 15:58:53 +0300 |
---|---|---|
committer | Matthew Auld <matthew.auld@intel.com> | 2021-11-05 12:22:45 +0300 |
commit | c10a652e239e21492525fab295dc2fc303338ef1 (patch) | |
tree | 949339d729633901999d38e291a835c6e068c0ac /tools/perf/scripts/python/intel-pt-events.py | |
parent | 52a743f1c114727cfd51aefe584c7a4d82375acc (diff) | |
download | linux-c10a652e239e21492525fab295dc2fc303338ef1.tar.xz |
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 <lkp@intel.com>):
- Make hugepage_ctx static.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211028125855.3281674-9-matthew.auld@intel.com
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions