drm/xe/migrate: Update cpu page-table updates
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Fri, 10 Mar 2023 16:56:55 +0000 (17:56 +0100)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:30:13 +0000 (18:30 -0500)
commitfc1cc680304db1c452156968f4ab95f9c553f746
tree82edae62435ccf330b29de77c3e050fff979a324
parent7c51050b3b0799f5d74331a7eb81a7066d520731
drm/xe/migrate: Update cpu page-table updates

Don't wait for GPU to be able to update page-tables using CPU. Putting
ourselves to sleep may be more of a problem than using GPU for
page-table updates. Also allow the vm to be NULL since the migrate
kunit test uses NULL for vm.

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/xe_migrate.c