drm/xe/migrate: ignore CCS for kernel objects
authorMatthew Auld <matthew.auld@intel.com>
Thu, 3 Apr 2025 10:24:44 +0000 (11:24 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Fri, 4 Apr 2025 10:41:04 +0000 (11:41 +0100)
commit58fa61ce4a0d13614a98479734b7f1ac2027615a
tree5b6e57ece25f0f2f2d3ecd00160c345307b0d638
parent045448da87bfb1542d6553d9bd6f66e2cddb99ed
drm/xe/migrate: ignore CCS for kernel objects

For kernel BOs we don't clear the CCS state on creation, therefore we
should be careful to ignore it when copying pages. In a future patch we
opt for using the copy path here for kernel BOs, so this now needs to be
considered.

v2:
 - Drop bogus asserts (CI)

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Link: https://lore.kernel.org/r/20250403102440.266113-12-matthew.auld@intel.com
drivers/gpu/drm/xe/xe_migrate.c