drm/xe/tests: Grab a memory access reference around the migrate sanity test
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 2 Mar 2023 09:01:41 +0000 (10:01 +0100)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:29:44 +0000 (18:29 -0500)
commit907a319c8c8e125224b088f91f468f549f1e1da7
treeb4d704047992c50100f5fe7aa6b2b74bcbf2dfa0
parent282c683a56e9713a3b70c4cffd17cb48bdbacca2
drm/xe/tests: Grab a memory access reference around the migrate sanity test

It appears we don't hold a memory access reference for the accesses in
this test, which may results in printed warnings and possibly the GT
not woken up for the memory accesses.

Add a memory access reference around the test.

Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/tests/xe_migrate.c