Re: [PATCH 3/5] drm/exec: provide trylock interface for eviction

2024-07-03 Thread Thomas Hellström
On Wed, 2024-07-03 at 15:26 +0200, Christian König wrote: > The TTM eviction path has some additional requirements which make it > necessary to trylock an object and then eventually keep or drop the > lock > again. > > Signed-off-by: Christian König > --- >  drivers/gpu/drm/drm_exec.c | 77 >

[PATCH 3/5] drm/exec: provide trylock interface for eviction

2024-07-03 Thread Christian König
The TTM eviction path has some additional requirements which make it necessary to trylock an object and then eventually keep or drop the lock again. Signed-off-by: Christian König --- drivers/gpu/drm/drm_exec.c | 77 ++ include/drm/drm_exec.h | 5 +++ 2 f