drm_pci_alloc
Prev | Bus-specific Device Registration and PCI Support | Next

## 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.

Prev | Up | Next
drm_dev_set_unique | Home | drm_pci_free