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

drm_bufs.c File Reference


Detailed Description

Generic buffer template

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

Gareth Hughes <gareth@valinux.com>

Definition in file drm_bufs.c.

#include <linux/vmalloc.h>
#include "drmP.h"

Go to the source code of this file.

Functions

int drm_addbufs (struct drm_device *dev, void *data, struct drm_file *file_priv)
static int drm_addbufs_fb (struct drm_device *dev, struct drm_buf_desc *request)
int drm_addbufs_pci (struct drm_device *dev, struct drm_buf_desc *request)
static int drm_addbufs_sg (struct drm_device *dev, struct drm_buf_desc *request)
int drm_addmap (struct drm_device *dev, unsigned int offset, unsigned int size, enum drm_map_type type, enum drm_map_flags flags, drm_local_map_t **map_ptr)
static int drm_addmap_core (struct drm_device *dev, unsigned int offset, unsigned int size, enum drm_map_type type, enum drm_map_flags flags, struct drm_map_list **maplist)
int drm_addmap_ioctl (struct drm_device *dev, void *data, struct drm_file *file_priv)
static void drm_cleanup_buf_error (struct drm_device *dev, struct drm_buf_entry *entry)
static struct drm_map_list * drm_find_matching_map (struct drm_device *dev, drm_local_map_t *map)
int drm_freebufs (struct drm_device *dev, void *data, struct drm_file *file_priv)
unsigned long drm_get_resource_len (struct drm_device *dev, unsigned int resource)
unsigned long drm_get_resource_start (struct drm_device *dev, unsigned int resource)
int drm_infobufs (struct drm_device *dev, void *data, struct drm_file *file_priv)
static int drm_map_handle (struct drm_device *dev, struct drm_hash_item *hash, unsigned long user_token, int hashed_handle)
int drm_mapbufs (struct drm_device *dev, void *data, struct drm_file *file_priv)
int drm_markbufs (struct drm_device *dev, void *data, struct drm_file *file_priv)
int drm_order (unsigned long size)
int drm_rmmap (struct drm_device *dev, drm_local_map_t *map)
int drm_rmmap_ioctl (struct drm_device *dev, void *data, struct drm_file *file_priv)
int drm_rmmap_locked (struct drm_device *dev, drm_local_map_t *map)
 EXPORT_SYMBOL (drm_order)
 EXPORT_SYMBOL (drm_addbufs_pci)
 EXPORT_SYMBOL (drm_addmap)
 EXPORT_SYMBOL (drm_get_resource_len)
 EXPORT_SYMBOL (drm_get_resource_start)


Generated by  Doxygen 1.6.0   Back to index