1
0
Fork 0
alistair23-linux/drivers/gpu/host1x/hw
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
..
cdma_hw.c gpu: host1x: Print address/offset pairs consistently 2014-11-13 16:11:41 +01:00
channel_hw.c gpu: host1x: Use struct host1x_bo pointers in traces 2014-11-13 16:11:32 +01:00
debug_hw.c gpu: host1x: Fix MLOCK's debug info 2015-10-02 14:40:12 +02:00
host1x01.c gpu: host1x: Use relative include paths 2013-10-31 09:55:40 +01:00
host1x01.h
host1x01_hardware.h gpu: host1x: Add channel support 2013-04-22 12:32:43 +02:00
host1x02.c gpu: host1x: Use the correct HW headers for host1x02 2013-12-19 09:29:51 +01:00
host1x02.h gpu: host1x: Add support for Tegra114 2013-10-31 09:55:41 +01:00
host1x02_hardware.h gpu: host1x: Use the correct HW headers for host1x02 2013-12-19 09:29:51 +01:00
host1x04.c gpu: host1x: Add Tegra124 support 2013-12-19 09:29:52 +01:00
host1x04.h gpu: host1x: Add Tegra124 support 2013-12-19 09:29:52 +01:00
host1x04_hardware.h gpu: host1x: Add Tegra124 support 2013-12-19 09:29:52 +01:00
host1x05.c gpu: host1x: Add Tegra210 support 2015-12-14 10:50:33 +01:00
host1x05.h gpu: host1x: Add Tegra210 support 2015-12-14 10:50:33 +01:00
host1x05_hardware.h gpu: host1x: Add Tegra210 support 2015-12-14 10:50:33 +01:00
hw_host1x01_channel.h gpu: host1x: Add debug support 2013-04-22 12:32:46 +02:00
hw_host1x01_sync.h gpu: host1x: Fix MLOCK's debug info 2015-10-02 14:40:12 +02:00
hw_host1x01_uclass.h gpu: host1x: Add syncpoint base support 2013-10-31 09:55:48 +01:00
hw_host1x02_channel.h gpu: host1x: Add support for Tegra114 2013-10-31 09:55:41 +01:00
hw_host1x02_sync.h gpu: host1x: Fix MLOCK's debug info 2015-10-02 14:40:12 +02:00
hw_host1x02_uclass.h gpu: host1x: Use the correct HW headers for host1x02 2013-12-19 09:29:51 +01:00
hw_host1x04_channel.h gpu: host1x: Add Tegra124 support 2013-12-19 09:29:52 +01:00
hw_host1x04_sync.h gpu: host1x: Fix MLOCK's debug info 2015-10-02 14:40:12 +02:00
hw_host1x04_uclass.h gpu: host1x: Add Tegra124 support 2013-12-19 09:29:52 +01:00
hw_host1x05_channel.h gpu: host1x: Add Tegra210 support 2015-12-14 10:50:33 +01:00
hw_host1x05_sync.h gpu: host1x: Add Tegra210 support 2015-12-14 10:50:33 +01:00
hw_host1x05_uclass.h gpu: host1x: Add Tegra210 support 2015-12-14 10:50:33 +01:00
intr_hw.c gpu: host1x: hw: intr_hw: Remove create_workqueue 2016-06-23 11:59:22 +02:00
syncpt_hw.c gpu: host1x: Use relative include paths 2013-10-31 09:55:40 +01:00