drm/xe: Lock GGTT on when restoring kernel BOs
authorMatthew Brost <matthew.brost@intel.com>
Wed, 25 Jan 2023 23:27:21 +0000 (15:27 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:27:47 +0000 (18:27 -0500)
commitc3ca5465564e7b6459e868b3433fff4e44a7fd64
tree7e97910d749d5dd00858e25b1d9c7ed5b88cea32
parentda3799c975726572066f1c6bc6a6f65cb1f01c84
drm/xe: Lock GGTT on when restoring kernel BOs

Make lockdep happy as we required to hold the GGTT when calling
xe_ggtt_map_bo.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
drivers/gpu/drm/xe/xe_bo_evict.c