drm/xe: Map both mem.kernel_bb_pool and usm.bb_pool
authorMatthew Brost <matthew.brost@intel.com>
Fri, 2 Feb 2024 03:34:40 +0000 (19:34 -0800)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 8 Feb 2024 08:49:59 +0000 (09:49 +0100)
commit3aa3c5c249086ffc920e8f6d6a15bdd441153d45
tree2c68c9aa2314c6c4a576851aa9254c7bbeb96837
parent90773aaf9129ea6f47915bd3c47da261abe6a447
drm/xe: Map both mem.kernel_bb_pool and usm.bb_pool

For integrated devices we need to map both mem.kernel_bb_pool and
usm.bb_pool to be able to run batches from both pools.

Fixes: a682b6a42d4d ("drm/xe: Support device page faults on integrated platforms")
Tested-by: Brian Welty <brian.welty@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Brian Welty <brian.welty@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240202033440.2351862-1-matthew.brost@intel.com
(cherry picked from commit 72f86ed3c88933d6fa09b036de93621ea71097a7)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
drivers/gpu/drm/xe/xe_gt.c
drivers/gpu/drm/xe/xe_migrate.c