Re: [RFC PATCH v3 15/21] drm/exec: Add a snapshot capability

2024-05-22 Thread Thomas Hellström
On Wed, 2024-05-22 at 15:54 +0200, Thomas Hellström wrote: > On Wed, 2024-05-22 at 13:27 +0200, Christian König wrote: > > Am 21.05.24 um 09:16 schrieb Thomas Hellström: > > > When validating a buffer object for submission, we might need to > > > lock > > > a number of object for eviction to make r

Re: [RFC PATCH v3 15/21] drm/exec: Add a snapshot capability

2024-05-22 Thread Thomas Hellström
On Wed, 2024-05-22 at 13:27 +0200, Christian König wrote: > Am 21.05.24 um 09:16 schrieb Thomas Hellström: > > When validating a buffer object for submission, we might need to > > lock > > a number of object for eviction to make room for the validation. > > > > This makes it pretty likely that val

Re: [RFC PATCH v3 15/21] drm/exec: Add a snapshot capability

2024-05-22 Thread Christian König
Am 21.05.24 um 09:16 schrieb Thomas Hellström: When validating a buffer object for submission, we might need to lock a number of object for eviction to make room for the validation. This makes it pretty likely that validation will eventually succeed, since eventually the validating process will

[RFC PATCH v3 15/21] drm/exec: Add a snapshot capability

2024-05-21 Thread Thomas Hellström
When validating a buffer object for submission, we might need to lock a number of object for eviction to make room for the validation. This makes it pretty likely that validation will eventually succeed, since eventually the validating process will hold most dma_resv locks of the buffer objects re