drm/xe/selftests: consider multi-GT for eviction test
authorMatthew Auld <matthew.auld@intel.com>
Fri, 1 Sep 2023 14:28:25 +0000 (15:28 +0100)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:41:02 +0000 (11:41 -0500)
commitfba153b0d0b769bb2379c9e78968036d17bdfb6b
treed419a5d04c5bf3f521fbc91b654b796858cc6b8a
parent621fd7dc38b7c18d4946a05051f674fcab82d4dd
drm/xe/selftests: consider multi-GT for eviction test

We need to sanitize and reset each GT, since xe_bo_evict_all() will
evict everything regardless of GT, which can leave other GTs in a broken
state.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/tests/xe_bo.c