Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
mgag200_main.c File Reference
#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
#include "mgag200_drv.h"

Go to the source code of this file.

Functions

int mgag200_framebuffer_init (struct drm_device *dev, struct mga_framebuffer *gfb, struct drm_mode_fb_cmd2 *mode_cmd, struct drm_gem_object *obj)
 
void mgag200_device_fini (struct mga_device *mdev)
 
int mgag200_driver_load (struct drm_device *dev, unsigned long flags)
 
int mgag200_driver_unload (struct drm_device *dev)
 
int mgag200_gem_create (struct drm_device *dev, u32 size, bool iskernel, struct drm_gem_object **obj)
 
int mgag200_dumb_create (struct drm_file *file, struct drm_device *dev, struct drm_mode_create_dumb *args)
 
int mgag200_dumb_destroy (struct drm_file *file, struct drm_device *dev, uint32_t handle)
 
int mgag200_gem_init_object (struct drm_gem_object *obj)
 
void mgag200_bo_unref (struct mgag200_bo **bo)
 
void mgag200_gem_free_object (struct drm_gem_object *obj)
 
int mgag200_dumb_mmap_offset (struct drm_file *file, struct drm_device *dev, uint32_t handle, uint64_t *offset)
 

Function Documentation

void mgag200_bo_unref ( struct mgag200_bo **  bo)

Definition at line 332 of file mgag200_main.c.

void mgag200_device_fini ( struct mga_device mdev)

Definition at line 207 of file mgag200_main.c.

int mgag200_driver_load ( struct drm_device dev,
unsigned long  flags 
)

Definition at line 219 of file mgag200_main.c.

int mgag200_driver_unload ( struct drm_device dev)

Definition at line 255 of file mgag200_main.c.

int mgag200_dumb_create ( struct drm_file *  file,
struct drm_device dev,
struct drm_mode_create_dumb args 
)

Definition at line 294 of file mgag200_main.c.

int mgag200_dumb_destroy ( struct drm_file *  file,
struct drm_device dev,
uint32_t  handle 
)

Definition at line 319 of file mgag200_main.c.

int mgag200_dumb_mmap_offset ( struct drm_file *  file,
struct drm_device dev,
uint32_t  handle,
uint64_t offset 
)

Definition at line 362 of file mgag200_main.c.

int mgag200_framebuffer_init ( struct drm_device dev,
struct mga_framebuffer gfb,
struct drm_mode_fb_cmd2 mode_cmd,
struct drm_gem_object *  obj 
)

Definition at line 38 of file mgag200_main.c.

int mgag200_gem_create ( struct drm_device dev,
u32  size,
bool  iskernel,
struct drm_gem_object **  obj 
)

Definition at line 271 of file mgag200_main.c.

void mgag200_gem_free_object ( struct drm_gem_object *  obj)

Definition at line 346 of file mgag200_main.c.

int mgag200_gem_init_object ( struct drm_gem_object *  obj)

Definition at line 326 of file mgag200_main.c.