summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/drmP.h
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2009-02-15 20:10:25 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2009-02-15 20:10:25 +0000
commitf1c8696d1a7698c0df74722c31470c1de0cb7551 (patch)
treec202871cdfe0104fc3bf71d333d52d07cc591fa8 /sys/dev/pci/drm/drmP.h
parente28310e8efce1b91a4279cf487097f160a8e3a8d (diff)
Remove drm_pci_alloc and associated definitions.
Diffstat (limited to 'sys/dev/pci/drm/drmP.h')
-rw-r--r--sys/dev/pci/drm/drmP.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/dev/pci/drm/drmP.h b/sys/dev/pci/drm/drmP.h
index a455d26bb78..2a2f83047ce 100644
--- a/sys/dev/pci/drm/drmP.h
+++ b/sys/dev/pci/drm/drmP.h
@@ -295,15 +295,6 @@ typedef struct drm_buf {
void *dev_private; /* Per-buffer private storage */
} drm_buf_t;
-typedef struct drm_dma_handle {
- void *vaddr;
- bus_addr_t busaddr;
- bus_dmamap_t dmamap;
- bus_dma_segment_t seg;
- void *addr;
- size_t size;
-} drm_dma_handle_t;
-
struct drm_dmamem {
bus_dmamap_t map;
caddr_t kva;
@@ -718,11 +709,6 @@ int drm_agp_bind_ioctl(struct drm_device *, void *, struct drm_file *);
int drm_sg_alloc_ioctl(struct drm_device *, void *, struct drm_file *);
int drm_sg_free(struct drm_device *, void *, struct drm_file *);
-/* consistent PCI memory functions (drm_pci.c) */
-drm_dma_handle_t *drm_pci_alloc(bus_dma_tag_t, size_t, size_t,
- dma_addr_t);
-void drm_pci_free(bus_dma_tag_t, drm_dma_handle_t *);
-
/* Inline replacements for DRM_IOREMAP macros */
#define drm_core_ioremap_wc drm_core_ioremap
static __inline__ void drm_core_ioremap(struct drm_local_map *map, struct drm_device *dev)