[PATCH 8/9] drm/omap: fix preclose to wait for scheduled work

2014-09-08 Thread Tomi Valkeinen
On 03/09/14 17:32, Daniel Vetter wrote: > On Wed, Sep 03, 2014 at 02:55:09PM +0300, Tomi Valkeinen wrote: >> We already wait for all scheduled work to be done on the driver's unload >> function. However, I think we need to wait on preclose() also, so that >> when an application closes the drm file

[PATCH 8/9] drm/omap: fix preclose to wait for scheduled work

2014-09-03 Thread Daniel Vetter
On Wed, Sep 03, 2014 at 02:55:09PM +0300, Tomi Valkeinen wrote: > We already wait for all scheduled work to be done on the driver's unload > function. However, I think we need to wait on preclose() also, so that > when an application closes the drm file descriptor, we are sure that > there's no lef

[PATCH 8/9] drm/omap: fix preclose to wait for scheduled work

2014-09-03 Thread Tomi Valkeinen
We already wait for all scheduled work to be done on the driver's unload function. However, I think we need to wait on preclose() also, so that when an application closes the drm file descriptor, we are sure that there's no left around. Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/o