]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/migrate: skip bounce buffer path on xe2
authorMatthew Auld <matthew.auld@intel.com>
Wed, 22 Oct 2025 16:38:36 +0000 (17:38 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Thu, 23 Oct 2025 09:48:41 +0000 (10:48 +0100)
commitf558630a7d4375ff030891d38daa6b97843c63c8
treea6d0e6b519ee3aaeae11c8348395228383275822
parent1e12dbae9d726b1e4ada1e5e101ccf6bb7a8c8aa
drm/xe/migrate: skip bounce buffer path on xe2

Now that we support MEM_COPY we should be able to use the PAGE_COPY
mode, otherwise falling back to BYTE_COPY mode when we have odd
sizing/alignment.

v2:
 - Use info.has_mem_copy_instr
 - Rebase on latest changes.
v3 (Matt Brost):
 - Allow various pitches including 1byte pitch for MEM_COPY

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20251022163836.191405-8-matthew.auld@intel.com
drivers/gpu/drm/xe/xe_migrate.c