linux_dsm_epyc7002/drivers/gpu/host1x
Bhaktipriya Shridhar 57574bd779 gpu: host1x: hw: intr_hw: Remove create_workqueue
System workqueues have been able to handle high level of concurrency
for a long time now and there's no reason to use dedicated workqueues
just to gain concurrency. Since the workqueue host->intr_wq is involved
in sync point interrupts, and sync point wait and is not being used on
a memory reclaim path, dedicated host->intr_wq has been replaced with the
use of system_wq.

Unlike a dedicated per-cpu workqueue created with create_workqueue(),
system_wq allows multiple work items to overlap executions even on
the same CPU; however, a per-cpu workqueue doesn't have any CPU
locality or global ordering guarantees unless the target CPU is
explicitly specified and thus the increase of local concurrency
shouldn't make any difference.

cancel_work_sync() has been used  in _host1x_free_syncpt_irq() to ensure
that no work is pending by the time exit path runs.

Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2016-06-23 11:59:22 +02:00
..
hw gpu: host1x: hw: intr_hw: Remove create_workqueue 2016-06-23 11:59:22 +02:00
bus.c drm/tegra: Changes for v4.6-rc1 2016-03-17 08:08:57 +10:00
bus.h gpu: host1x: Provide a proper struct bus_type 2015-01-27 10:09:14 +01:00
cdma.c dma, mm/pat: Rename dma_*_writecombine() to dma_*_wc() 2016-03-09 14:57:51 +01:00
cdma.h gpu: host1x: Make mapped field of push buffers void * 2014-11-13 16:11:35 +01:00
channel.c gpu: host1x: Export public API 2013-12-19 09:29:50 +01:00
channel.h gpu: host1x: Expose syncpt and channel functionality 2013-10-31 09:20:11 +01:00
debug.c gpu: host1x: Fix build warnings 2013-12-19 09:29:52 +01:00
debug.h gpu: host1x: Add debug support 2013-04-22 12:32:46 +02:00
dev.c gpu: host1x: Set DMA mask 2016-03-04 16:24:56 +01:00
dev.h gpu: host1x: hw: intr_hw: Remove create_workqueue 2016-06-23 11:59:22 +02:00
intr.c gpu: host1x: hw: intr_hw: Remove create_workqueue 2016-06-23 11:59:22 +02:00
intr.h gpu: host1x: Add channel support 2013-04-22 12:32:43 +02:00
job.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2016-03-21 13:48:00 -07:00
job.h gpu: host1x: Make gather offsets unsigned 2014-11-13 16:11:44 +01:00
Kconfig gpu: host1x: Increase compile test coverage 2013-12-19 09:29:51 +01:00
Makefile gpu: host1x: Add Tegra210 support 2015-12-14 10:50:33 +01:00
mipi.c gpu: host1x: mipi: Power down regulators when unused 2015-08-13 13:47:21 +02:00
syncpt.c gpu: host1x: Export host1x_syncpt_read() 2015-04-02 18:46:20 +02:00
syncpt.h gpu: host1x: Add syncpoint base support 2013-10-31 09:55:48 +01:00