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

drm_context.c File Reference


Detailed Description

IOCTLs for generic contexts

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

Gareth Hughes <gareth@valinux.com>

Definition in file drm_context.c.

#include "drmP.h"

Go to the source code of this file.

Functions

The actual DRM context handling routines


int drm_addctx (struct drm_device *dev, void *data, struct drm_file *file_priv)
static int drm_context_switch (struct drm_device *dev, int old, int new)
static int drm_context_switch_complete (struct drm_device *dev, int new)
int drm_getctx (struct drm_device *dev, void *data, struct drm_file *file_priv)
int drm_modctx (struct drm_device *dev, void *data, struct drm_file *file_priv)
int drm_newctx (struct drm_device *dev, void *data, struct drm_file *file_priv)
int drm_resctx (struct drm_device *dev, void *data, struct drm_file *file_priv)
int drm_rmctx (struct drm_device *dev, void *data, struct drm_file *file_priv)
int drm_switchctx (struct drm_device *dev, void *data, struct drm_file *file_priv)
Context bitmap support


void drm_ctxbitmap_cleanup (struct drm_device *dev)
void drm_ctxbitmap_free (struct drm_device *dev, int ctx_handle)
int drm_ctxbitmap_init (struct drm_device *dev)
static int drm_ctxbitmap_next (struct drm_device *dev)
Per Context SAREA Support


int drm_getsareactx (struct drm_device *dev, void *data, struct drm_file *file_priv)
int drm_setsareactx (struct drm_device *dev, void *data, struct drm_file *file_priv)


Generated by  Doxygen 1.6.0   Back to index