thead_admin 66ec850753 Linux_SDK_V0.9.5 hai 1 ano
..
test 66ec850753 Linux_SDK_V0.9.5 hai 1 ano
uapi 66ec850753 Linux_SDK_V0.9.5 hai 1 ano
FindDmaBufExporter.cmake 66ec850753 Linux_SDK_V0.9.5 hai 1 ano
Makefile 66ec850753 Linux_SDK_V0.9.5 hai 1 ano
README 66ec850753 Linux_SDK_V0.9.5 hai 1 ano
de_common.c 66ec850753 Linux_SDK_V0.9.5 hai 1 ano
de_heap.h 66ec850753 Linux_SDK_V0.9.5 hai 1 ano
de_heap_carveout.c 66ec850753 Linux_SDK_V0.9.5 hai 1 ano
de_heap_coherent.c 66ec850753 Linux_SDK_V0.9.5 hai 1 ano
de_heap_ion.c 66ec850753 Linux_SDK_V0.9.5 hai 1 ano
de_heap_ion.h 66ec850753 Linux_SDK_V0.9.5 hai 1 ano
de_heap_ion_example.c 66ec850753 Linux_SDK_V0.9.5 hai 1 ano
de_heap_noncoherent.c 66ec850753 Linux_SDK_V0.9.5 hai 1 ano

README

1. How to build

make -C /lib/modules/$(uname -r)/build M=/path/to/dmabuf_exporter modules

2. Carveout example

sudo insmod dmabuf_exporter_carveout.ko carveout_base=0x38000000 carveout_size=0x8000000

3. Coherent example

sudo insmod dmabuf_exporter_coherent.ko

3. Non-Coherent example

sudo insmod dmabuf_exporter_noncoherent.ko cache_type=3

cache_type: 1-cached, 2-uncached, 3-writecombine