]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8749aefc35284492a0df48c4964afb8c40761238
treec0a5fa8947963555e0caa1e30b2dde91f25cac07
parent53808bc04acbba1c20420b1e7476b8b052b595ee
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