]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita3d36af6398e1f8f7ee8a42ee5186409e98c324e
tree26f8174336d74bc557cc27f2884599ac8dd82182
parenta958d62c7aa40083ae6f9f2a78bfbb77abfb6433
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