Revision c95469aa5a188384ccf8ac520ece931c66caf8aa authored by Alexandre Courbot on 26 February 2016, 09:06:53 UTC, committed by Thierry Reding on 04 March 2016, 15:24:57 UTC
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>
1 parent 097452e
History
File Mode Size
buffer_sync.c -rw-r--r-- 13.4 KB
buffer_sync.h -rw-r--r-- 432 bytes
cpu_buffer.c -rw-r--r-- 10.6 KB
cpu_buffer.h -rw-r--r-- 2.8 KB
event_buffer.c -rw-r--r-- 4.5 KB
event_buffer.h -rw-r--r-- 860 bytes
nmi_timer_int.c -rw-r--r-- 3.5 KB
oprof.c -rw-r--r-- 5.0 KB
oprof.h -rw-r--r-- 1.1 KB
oprofile_files.c -rw-r--r-- 4.6 KB
oprofile_perf.c -rw-r--r-- 7.1 KB
oprofile_stats.c -rw-r--r-- 2.2 KB
oprofile_stats.h -rw-r--r-- 650 bytes
oprofilefs.c -rw-r--r-- 6.4 KB
timer_int.c -rw-r--r-- 2.5 KB

back to top