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

drm_vm.c File Reference


Detailed Description

Memory mapping for DRM

Author:
Rickard E. (Rik) Faith <faith@valinux.com>

Gareth Hughes <gareth@valinux.com>

Definition in file drm_vm.c.

#include "drmP.h"

Go to the source code of this file.

Functions

unsigned long drm_core_get_map_ofs (struct drm_map *map)
unsigned long drm_core_get_reg_ofs (struct drm_device *dev)
static __inline__ struct pagedrm_do_vm_dma_nopage (struct vm_area_struct *vma, unsigned long address)
static __inline__ struct pagedrm_do_vm_nopage (struct vm_area_struct *vma, unsigned long address)
static __inline__ struct pagedrm_do_vm_sg_nopage (struct vm_area_struct *vma, unsigned long address)
static __inline__ struct pagedrm_do_vm_shm_nopage (struct vm_area_struct *vma, unsigned long address)
static pgprot_t drm_io_prot (uint32_t map_type, struct vm_area_struct *vma)
int drm_mmap (struct file *filp, struct vm_area_struct *vma)
static int drm_mmap_dma (struct file *filp, struct vm_area_struct *vma)
static int drm_mmap_locked (struct file *filp, struct vm_area_struct *vma)
static void drm_vm_close (struct vm_area_struct *vma)
static struct pagedrm_vm_dma_nopage (struct vm_area_struct *vma, unsigned long address, int *type)
static struct pagedrm_vm_nopage (struct vm_area_struct *vma, unsigned long address, int *type)
static void drm_vm_open (struct vm_area_struct *vma)
static void drm_vm_open_locked (struct vm_area_struct *vma)
static struct pagedrm_vm_sg_nopage (struct vm_area_struct *vma, unsigned long address, int *type)
static void drm_vm_shm_close (struct vm_area_struct *vma)
static struct pagedrm_vm_shm_nopage (struct vm_area_struct *vma, unsigned long address, int *type)
 EXPORT_SYMBOL (drm_mmap)
 EXPORT_SYMBOL (drm_core_get_reg_ofs)
 EXPORT_SYMBOL (drm_core_get_map_ofs)

Variables

static struct vm_operations_struct drm_vm_dma_ops
static struct vm_operations_struct drm_vm_ops
static struct vm_operations_struct drm_vm_sg_ops
static struct vm_operations_struct drm_vm_shm_ops


Generated by  Doxygen 1.6.0   Back to index