HACK: misc: Add dma-buf to physical address exporter
This is driver allows user-space to attach a DMA-BUF and receive back its CPU physical address. This is a temporary solution to allow CMEM like functionality from allocated buffers. This is a hack and this will be removed when proper solutions are implemented. Signed-off-by:Andrew F. Davis <afd@ti.com> Signed-off-by:
Gowtham Tammana <g-tammana@ti.com>
Showing
- drivers/misc/Kconfig 5 additions, 0 deletionsdrivers/misc/Kconfig
- drivers/misc/Makefile 1 addition, 0 deletionsdrivers/misc/Makefile
- drivers/misc/dma-buf-phys.c 231 additions, 0 deletionsdrivers/misc/dma-buf-phys.c
- include/uapi/linux/dma_buf_phys.h 35 additions, 0 deletionsinclude/uapi/linux/dma_buf_phys.h
Please register or sign in to comment