mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-22 20:29:00 -05:00
drm/xe/tests: Fix migrate test
Pass a valid vm to xe_migrate_update_pgtables. Resolves NPD crash seen with igt@xe_live_ktest@migrate Reviewed-by: Brian Welty <brian.welty@intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com> Signed-off-by: Pallavi Mishra <pallavi.mishra@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
This commit is contained in:
committed by
Rodrigo Vivi
parent
86017f3898
commit
fa85b08373
@@ -236,7 +236,7 @@ static void test_pt_update(struct xe_migrate *m, struct xe_bo *pt,
|
||||
xe_map_memset(xe, &pt->vmap, 0, (u8)expected, pt->size);
|
||||
|
||||
then = ktime_get();
|
||||
fence = xe_migrate_update_pgtables(m, NULL, NULL, m->q, &update, 1,
|
||||
fence = xe_migrate_update_pgtables(m, m->q->vm, NULL, m->q, &update, 1,
|
||||
NULL, 0, &pt_update);
|
||||
now = ktime_get();
|
||||
if (sanity_fence_failed(xe, fence, "Migration pagetable update", test))
|
||||
|
||||
Reference in New Issue
Block a user