[PATCH v3] drm/fence: allow fence waiting to be interrupted by userspace

2016-09-12 Thread Maarten Lankhorst
Op 25-08-16 om 18:47 schreef Gustavo Padovan: > From: Gustavo Padovan > > If userspace is running an synchronously atomic commit and interrupts the > atomic operation during fence_wait() it will hang until the timer expires, > so here we change the wait to be interruptible so it stop immediately w

[PATCH v3] drm/fence: allow fence waiting to be interrupted by userspace

2016-09-12 Thread Gustavo Padovan
Hi Sean, 2016-09-12 Sean Paul : > On Thu, Aug 25, 2016 at 12:47 PM, Gustavo Padovan > wrote: > > From: Gustavo Padovan > > > > If userspace is running an synchronously atomic commit and interrupts the > > atomic operation during fence_wait() it will hang until the timer expires, > > so here we

[PATCH v3] drm/fence: allow fence waiting to be interrupted by userspace

2016-09-12 Thread Sean Paul
On Thu, Aug 25, 2016 at 12:47 PM, Gustavo Padovan wrote: > From: Gustavo Padovan > > If userspace is running an synchronously atomic commit and interrupts the > atomic operation during fence_wait() it will hang until the timer expires, > so here we change the wait to be interruptible so it stop

[PATCH v3] drm/fence: allow fence waiting to be interrupted by userspace

2016-08-25 Thread Gustavo Padovan
From: Gustavo Padovan If userspace is running an synchronously atomic commit and interrupts the atomic operation during fence_wait() it will hang until the timer expires, so here we change the wait to be interruptible so it stop immediately when userspace wants to quit. Also adds the necessary e