drm/xe: Pipeline evict / restore of pinned BOs during suspend / resume
authorMatthew Brost <matthew.brost@intel.com>
Tue, 5 Mar 2024 17:35:03 +0000 (09:35 -0800)
committerMatthew Brost <matthew.brost@intel.com>
Tue, 5 Mar 2024 19:45:51 +0000 (11:45 -0800)
commit198bc28d0a016831d788a2408cfe11fc09eee757
tree642c1718409c1cdd7d6784007c0c7d218f0b0fd9
parent5c9da9fc64a1a6745175c7e77c3a0021a32560a5
drm/xe: Pipeline evict / restore of pinned BOs during suspend / resume

Rather than waiting for each evict / restore of pinned BOs to complete
just wait on migrate exec queue to be idle once during suspend / resume.

Cc: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240305173503.285223-1-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_bo.c
drivers/gpu/drm/xe/xe_bo_evict.c