]> 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)
commit9720edbf73d3591064b6a60c386ff356af15804b
treec0a5fa8947963555e0caa1e30b2dde91f25cac07
parent835aeefd6ec303240efcaeb7ebe27ce232669ca9
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