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: Set correct expectation

In xe_migrate_sanity_kunit test, use correct expected value as
the expected value was not only used for the xe_migrate_clear(),
but also for the xe_migrate_copy() operation.

v2: Add 'Fixes' tag and update commit text

Fixes: 11a2407ed5f0 ("drm/xe: Stop accepting value in xe_migrate_clear")
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
370997d1 f7339fe7

+1
+1
drivers/gpu/drm/xe/tests/xe_migrate.c
··· 147 147 xe_map_memset(xe, &sysmem->vmap, 0, 0xc0, sysmem->size); 148 148 xe_map_memset(xe, &bo->vmap, 0, 0xd0, bo->size); 149 149 150 + expected = 0xc0c0c0c0c0c0c0c0; 150 151 fence = xe_migrate_copy(m, sysmem, sysmem->ttm.resource, 151 152 bo->ttm.resource); 152 153 if (!sanity_fence_failed(xe, fence, big ? "Copying big bo sysmem -> vram" :