[Intel-xe] [PATCH 0/3] drm/ttm: Reservation object individualization update

Thomas Hellström thomas.hellstrom at linux.intel.com
Thu May 25 15:02:02 UTC 2023


A couple of patches to modify the individualizing somewhat:

The motivation is that we run into trouble with the xe driver doing the
resv individualization in a clean way, having to grab the vm-wide sleeping
lock in a close- or release path which isn't really optimal. While
addressing that, some fly-by cleanups.

Patch 1: Makes sure the bulk move is removed at individualizing time, which is
convenient since we have all required locks.

Patch 2: Individualize even if fence copying fails.

Patch 3: Use a define instead of open-coded timeout


Thomas Hellström (3):
  drm/ttm: Clear the buffer object bulk move at individualize time
  drm/ttm: Clean up bo individualizing somewhat
  drm/ttm: Use a define for the resv wait timeout

 drivers/gpu/drm/ttm/ttm_bo.c | 73 +++++++++++++++++++++---------------
 1 file changed, 42 insertions(+), 31 deletions(-)

-- 
2.39.2



More information about the Intel-xe mailing list