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

2016-09-12 Thread Sean Paul
On Mon, Sep 12, 2016 at 3:08 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

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

2016-09-12 Thread Sean Paul
On Mon, Sep 12, 2016 at 3:08 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 v4] drm/fence: allow fence waiting to be interrupted by userspace

2016-09-12 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

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

2016-09-12 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