mirror-linux/drivers/gpu/host1x
Uwe Kleine-König 1f61d735b8 host1x: Convert to bus methods
The callbacks .probe(), .remove() and .shutdown() for device_drivers
should go away. So migrate to bus methods. There are two differences
that need addressing:

 - The bus remove callback returns void while the driver remove callback
   returns int (the actual value is ignored by the core).
 - The bus shutdown callback is also called for unbound devices, so an
   additional check for dev->driver != NULL is needed.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Tested-by: Luca Ceresoli <luca.ceresoli@bootlin.com> # tegra20 tegra-video
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patch.msgid.link/dd55d034c68953268ea416aa5c13e41b158fcbb4.1765355236.git.u.kleine-koenig@baylibre.com
2026-01-13 12:26:32 +01:00
..
hw gpu: host1x: Syncpoint interrupt performance optimization 2025-11-14 18:27:19 +01:00
Kconfig drm/tegra: Allow compile test on !ARM v2 2023-04-04 18:04:43 +02:00
Makefile
bus.c host1x: Convert to bus methods 2026-01-13 12:26:32 +01:00
bus.h gpu: host1x: bus: make host1x_bus_type const 2024-02-13 19:10:57 +01:00
cdma.c gpu: host1x: Remove mid-job CDMA flushes 2025-05-07 17:49:59 +02:00
cdma.h gpu: host1x: Implement job tracking using DMA fences 2023-01-26 15:55:38 +01:00
channel.c gpu: host1x: Stop CDMA before suspending 2023-10-11 22:52:44 +02:00
channel.h gpu: host1x: Stop CDMA before suspending 2023-10-11 22:52:44 +02:00
context.c gpu: host1x: Set up device DMA parameters 2024-09-25 21:21:23 +02:00
context.h
context_bus.c gpu: host1x: Make host1x_context_device_bus_type constant 2024-08-29 20:14:29 +02:00
debug.c gpu: host1x: Remove unused host1x_debug_dump_syncpts 2025-02-28 17:44:13 +01:00
debug.h gpu: host1x: Remove unused host1x_debug_dump_syncpts 2025-02-28 17:44:13 +01:00
dev.c gpu: host1x: Syncpoint interrupt performance optimization 2025-11-14 18:27:19 +01:00
dev.h gpu: host1x: Syncpoint interrupt performance optimization 2025-11-14 18:27:19 +01:00
fence.c gpu: host1x: External timeout/cancellation for fences 2023-01-26 15:55:38 +01:00
fence.h gpu: host1x: External timeout/cancellation for fences 2023-01-26 15:55:38 +01:00
intr.c gpu: host1x: Fix a use of uninitialized mutex 2025-02-07 15:57:50 +01:00
intr.h gpu: host1x: Request syncpoint IRQs only during probe 2024-08-28 17:28:48 +02:00
job.c gpu: host1x: Implement job tracking using DMA fences 2023-01-26 15:55:38 +01:00
job.h
mipi.c gpu: host1x: mipi: Benefit from devm_clk_get_prepared() 2024-05-27 10:13:55 +02:00
syncpt.c gpu: host1x: Fix race in syncpt alloc/free 2025-09-11 18:56:32 +02:00
syncpt.h gpu: host1x: Rewrite syncpoint interrupt handling 2023-01-26 15:55:38 +01:00