OpenCloudOS-Kernel/drivers/gpu/host1x
Alexandre Courbot c95469aa5a gpu: host1x: Set DMA ops on device creation
Currently host1x-instanciated devices have their dma_ops left to NULL,
which makes any DMA operation (like buffer import) on ARM64 fallback
to the dummy_dma_ops and fail with an error.

This patch calls of_dma_configure() with the host1x node when creating
such a device, so the proper DMA operations are set.

Suggested-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2016-03-04 16:24:57 +01:00
..
hw gpu: host1x: Add Tegra210 support 2015-12-14 10:50:33 +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
bus.c gpu: host1x: Set DMA ops on device creation 2016-03-04 16:24:57 +01:00
bus.h gpu: host1x: Provide a proper struct bus_type 2015-01-27 10:09:14 +01:00
cdma.c gpu: host1x: Make mapped field of push buffers void * 2014-11-13 16:11:35 +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: Set DMA mask 2016-03-04 16:24:56 +01:00
intr.c gpu: host1x: Add channel support 2013-04-22 12:32:43 +02:00
intr.h gpu: host1x: Add channel support 2013-04-22 12:32:43 +02:00
job.c drm/tegra: Make job submission 64-bit safe 2014-08-04 10:07:36 +02:00
job.h gpu: host1x: Make gather offsets unsigned 2014-11-13 16:11:44 +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