Logo Search packages:      
Sourcecode: linux version File versions  Download package

drm_pci.c File Reference


Detailed Description

Functions and ioctls to manage PCI memory.

Warning:
These interfaces aren't stable yet.
Todo:
Implement the remaining ioctl's for the PCI pools.
Todo:
The wrappers here are so thin that they would be better off inlined..
Author:
José Fonseca <jrfonseca@tungstengraphics.com>

Leif Delgass <ldelgass@retinalburn.net>

Definition in file drm_pci.c.

#include <linux/pci.h>
#include <linux/dma-mapping.h>
#include "drmP.h"

Go to the source code of this file.

Functions

PCI memory


void __drm_pci_free (struct drm_device *dev, drm_dma_handle_t *dmah)
 Free a PCI consistent memory block without freeing its descriptor.
drm_dma_handle_t * drm_pci_alloc (struct drm_device *dev, size_t size, size_t align, dma_addr_t maxaddr)
 Allocate a PCI consistent memory block, for DMA.
void drm_pci_free (struct drm_device *dev, drm_dma_handle_t *dmah)
 Free a PCI consistent memory block.
 EXPORT_SYMBOL (drm_pci_free)
 EXPORT_SYMBOL (drm_pci_alloc)


Generated by  Doxygen 1.6.0   Back to index