drm/omap: Fix release of refill engine
authorAndy Gross <andy.gross@ti.com>
Fri, 12 Oct 2012 16:18:11 +0000 (11:18 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 22:46:37 +0000 (15:46 -0700)
commitfaaa054036e395d4e847d1dac49a55b7ef85f500
tree26f8174336d74bc557cc27f2884599ac8dd82182
parentfe4fc163dfe246f6dccb003eda7a8238fbc574e1
drm/omap: Fix release of refill engine

During asynchronous refills, we don't wait for the refill to
finish.  However, we cannot release the engine back to the idle
list until it has actually completed the refill operation.  The
engine release will now be done in the IRQ handler, but only
for asynchronous refill operations.

Synchronous refills will continue to release the engine after they
unblock from waiting on the refill.

v2: Fixed review comments on async variable and bool type

Signed-off-by: Andy Gross <andy.gross@ti.com>
Signed-off-by: Rob Clark <rob@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/omapdrm/omap_dmm_priv.h
drivers/staging/omapdrm/omap_dmm_tiler.c