Re: [RFC PATCH] drm/ttm: Allow the driver to resolve a WW transaction rollback

2023-05-25 Thread Christian König
Am 25.05.23 um 14:59 schrieb Thomas Hellström: On Fri, 2023-05-05 at 16:17 +0200, Thomas Hellström wrote: Allow drivers to resolve a WW transaction rollback. This allows for 1) Putting a lower-priority transaction to sleep allowing another to succeed instead both fighting using trylocks. 2) Lett

Re: [RFC PATCH] drm/ttm: Allow the driver to resolve a WW transaction rollback

2023-05-25 Thread Thomas Hellström
On Fri, 2023-05-05 at 16:17 +0200, Thomas Hellström wrote: > Allow drivers to resolve a WW transaction rollback. This allows for > 1) Putting a lower-priority transaction to sleep allowing another to > succeed instead both fighting using trylocks. > 2) Letting the driver know whether a received -EN

[RFC PATCH] drm/ttm: Allow the driver to resolve a WW transaction rollback

2023-05-05 Thread Thomas Hellström
Allow drivers to resolve a WW transaction rollback. This allows for 1) Putting a lower-priority transaction to sleep allowing another to succeed instead both fighting using trylocks. 2) Letting the driver know whether a received -ENOMEM is the result of competition with another WW transaction, whic