drm/vmwgfx: Move irq bottom half processing to threads
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 24 Aug 2017 06:06:28 +0000 (08:06 +0200)
committerSinclair Yeh <syeh@vmware.com>
Mon, 28 Aug 2017 15:40:43 +0000 (17:40 +0200)
commitef369904aaf717e0390b483efd47daba9ba8ddf2
treec0a5fa8947963555e0caa1e30b2dde91f25cac07
parente300173f06160d65d383d54fdd48027ecd052af3
drm/vmwgfx: Move irq bottom half processing to threads

This gets rid of the irq bottom half tasklets and instead performs the
work needed in process context. We also convert irq-disabling spinlocks to
ordinary spinlocks.

This should decrease system latency for other system components, like
sound for example but has the potential to increase latency for processes
that wait on the GPU.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
drivers/gpu/drm/vmwgfx/vmwgfx_irq.c