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)
committerMatthew Brost <matthew.brost@intel.com>
Sat, 3 Feb 2024 01:37:58 +0000 (17:37 -0800)
commit72f86ed3c88933d6fa09b036de93621ea71097a7
tree0ad47439d731383626bfd6ce0a64e0986c2b4490
parent774ef5dfc95578a9079426d5106076dcd59c4dfa
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
drivers/gpu/drm/xe/xe_gt.c
drivers/gpu/drm/xe/xe_migrate.c