]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/migrate: Allow xe_migrate_vram() also on non-pagefault capable devices
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Wed, 26 Mar 2025 08:05:50 +0000 (09:05 +0100)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 27 Mar 2025 11:08:33 +0000 (12:08 +0100)
commit4c2007540f2d89a3e708e884dda0df6975fd31bd
treede1d5cadb9ee415d9d7940f9c5235162aed6bd18
parent3cbb651117ff8a23ab22de595754e9d66b533ab9
drm/xe/migrate: Allow xe_migrate_vram() also on non-pagefault capable devices

The drm_pagemap functionality does not depend on the device having
recoverable pagefaults available. So allow xe_migrate_vram() also for
such devices. Even if this will have little use in practice, it's
beneficial for testin multi-device SVM, since a memory provider could
be a non-pagefault capable gpu.

Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20250326080551.40201-5-thomas.hellstrom@linux.intel.com
drivers/gpu/drm/xe/xe_migrate.c