Re: [PATCH] drm/ttm: Always take the bo delayed cleanup path for imported bos

2024-07-04 Thread Thomas Hellström
On Mon, 2024-07-01 at 12:43 +0200, Christian König wrote: > Am 28.06.24 um 20:13 schrieb Daniel Vetter: > > On Fri, Jun 28, 2024 at 03:51:33PM +, Matthew Brost wrote: > > > On Fri, Jun 28, 2024 at 05:38:48PM +0200, Thomas Hellström wrote: > > > > Bos can be put with multiple unrelated dma-resv

Re: [PATCH] drm/ttm: Always take the bo delayed cleanup path for imported bos

2024-07-01 Thread Christian König
Am 28.06.24 um 20:13 schrieb Daniel Vetter: On Fri, Jun 28, 2024 at 03:51:33PM +, Matthew Brost wrote: On Fri, Jun 28, 2024 at 05:38:48PM +0200, Thomas Hellström wrote: Bos can be put with multiple unrelated dma-resv locks held. But imported bos attempt to grab the bo dma-resv during dma-bu

Re: [PATCH] drm/ttm: Always take the bo delayed cleanup path for imported bos

2024-06-28 Thread Daniel Vetter
On Fri, Jun 28, 2024 at 03:51:33PM +, Matthew Brost wrote: > On Fri, Jun 28, 2024 at 05:38:48PM +0200, Thomas Hellström wrote: > > Bos can be put with multiple unrelated dma-resv locks held. But > > imported bos attempt to grab the bo dma-resv during dma-buf detach > > that typically happens du

Re: [PATCH] drm/ttm: Always take the bo delayed cleanup path for imported bos

2024-06-28 Thread Matthew Brost
On Fri, Jun 28, 2024 at 05:38:48PM +0200, Thomas Hellström wrote: > Bos can be put with multiple unrelated dma-resv locks held. But > imported bos attempt to grab the bo dma-resv during dma-buf detach > that typically happens during cleanup. That leads to lockde splats > similar to the below and a