#include <linux/export.h>
#include <drm/drmP.h>
Go to the source code of this file.
DMA IOCTL and function support
- Author
- Rickard E. (Rik) Faith faith.nosp@m.@val.nosp@m.inux..nosp@m.com
-
Gareth Hughes garet.nosp@m.h@va.nosp@m.linux.nosp@m..com
Definition in file drm_dma.c.
Reclaim the buffers.
- Parameters
-
file_priv | DRM file private. |
Frees each buffer associated with file_priv
not already on the hardware.
Definition at line 132 of file drm_dma.c.
Initialize the DMA data.
- Parameters
-
- Returns
- zero on success or a negative value on failure.
Allocate and initialize a drm_device_dma structure.
Definition at line 47 of file drm_dma.c.
Cleanup the DMA resources.
- Parameters
-
Free all pages associated with DMA buffers, the buffers and pages lists, and finally the drm_device::dma structure itself.
Definition at line 69 of file drm_dma.c.
Free a buffer.
- Parameters
-
dev | DRM device. |
buf | buffer to free. |
Resets the fields of buf
.
Definition at line 114 of file drm_dma.c.