mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04: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 <[email protected]> Reviewed-by: Matthew Brost <[email protected]> Signed-off-by: Pallavi Mishra <[email protected]> Signed-off-by: Rodrigo Vivi <[email protected]>
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