Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/xe/tests: Use proper batch base address

In xe_migrate_sanity_kunit test, use proper batch base address
by considering usm case.

Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>

authored by

Niranjana Vishwanathapura and committed by
Rodrigo Vivi
f7339fe7 6b8ddaf3

+2 -1
+2 -1
drivers/gpu/drm/xe/tests/xe_migrate.c
··· 35 35 struct xe_bb *bb, u32 second_idx, const char *str, 36 36 struct kunit *test) 37 37 { 38 + u64 batch_base = xe_migrate_batch_base(m, xe->info.supports_usm); 38 39 struct xe_sched_job *job = xe_bb_create_migration_job(m->eng, bb, 39 - m->batch_base_ofs, 40 + batch_base, 40 41 second_idx); 41 42 struct dma_fence *fence; 42 43