Reference

drm_pci_alloc(9)

Allocate a PCI consistent memory block, for DMA.

NAME

drm_pci_alloc - Allocate a PCI consistent memory block, for DMA.

SYNOPSIS

drm_dma_handle_t * drm_pci_alloc(struct drm_device * dev, size_t size, size_t align);

ARGUMENTS

dev

DRM device

size

size of block to allocate

align

alignment of block

RETURN

A handle to the allocated memory block on success or NULL on failure.

AUTHORS

Jesse Barnes <[email protected]>
Intel Corporation,

Initial version

Laurent Pinchart <[email protected]>
Ideas on board SPRL,

Driver internals

Daniel Vetter <[email protected]>
Intel Corporation,

Contributions all over the place

COPYRIGHT