Re: [PATCH] drm/ttm: warn when resv objs are mixed in a bulk_move

2024-03-13 Thread Thomas Hellström
On Tue, 2024-03-12 at 11:55 +0100, Christian König wrote: > The BOs in a bulk move must share all the same reservation object > to make sure that we lock the whole bulk during eviction. > > Actually document and enforce that with a warning. > > Signed-off-by: Christian König Tested with Xe CI,

[PATCH] drm/ttm: warn when resv objs are mixed in a bulk_move

2024-03-12 Thread Christian König
The BOs in a bulk move must share all the same reservation object to make sure that we lock the whole bulk during eviction. Actually document and enforce that with a warning. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_resource.c | 1 + include/drm/ttm/ttm_resource.h | 3 +++