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
Kconfig -rw-r--r-- 389 bytes
Makefile -rw-r--r-- 125 bytes
cap.c -rw-r--r-- 2.7 KB
ctl.c -rw-r--r-- 17.9 KB
ctl.h -rw-r--r-- 2.2 KB
eeprom.c -rw-r--r-- 9.5 KB
nhi.c -rw-r--r-- 16.9 KB
nhi.h -rw-r--r-- 3.1 KB
nhi_regs.h -rw-r--r-- 2.8 KB
path.c -rw-r--r-- 6.7 KB
switch.c -rw-r--r-- 12.3 KB
tb.c -rw-r--r-- 10.4 KB
tb.h -rw-r--r-- 7.7 KB
tb_regs.h -rw-r--r-- 5.0 KB
tunnel_pci.c -rw-r--r-- 6.4 KB
tunnel_pci.h -rw-r--r-- 725 bytes

back to top