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

Go to the source code of this file.

Functions

int cirrus_framebuffer_init (struct drm_device *dev, struct cirrus_framebuffer *gfb, struct drm_mode_fb_cmd2 *mode_cmd, struct drm_gem_object *obj)
 
int cirrus_device_init (struct cirrus_device *cdev, struct drm_device *ddev, struct pci_dev *pdev, uint32_t flags)
 
void cirrus_device_fini (struct cirrus_device *cdev)
 
int cirrus_driver_load (struct drm_device *dev, unsigned long flags)
 
int cirrus_driver_unload (struct drm_device *dev)
 
int cirrus_gem_create (struct drm_device *dev, u32 size, bool iskernel, struct drm_gem_object **obj)
 
int cirrus_dumb_create (struct drm_file *file, struct drm_device *dev, struct drm_mode_create_dumb *args)
 
int cirrus_dumb_destroy (struct drm_file *file, struct drm_device *dev, uint32_t handle)
 
int cirrus_gem_init_object (struct drm_gem_object *obj)
 
void cirrus_bo_unref (struct cirrus_bo **bo)
 
void cirrus_gem_free_object (struct drm_gem_object *obj)
 
int cirrus_dumb_mmap_offset (struct drm_file *file, struct drm_device *dev, uint32_t handle, uint64_t *offset)
 

Function Documentation

void cirrus_bo_unref ( struct cirrus_bo **  bo)

Definition at line 279 of file cirrus_main.c.

void cirrus_device_fini ( struct cirrus_device cdev)

Definition at line 162 of file cirrus_main.c.

int cirrus_device_init ( struct cirrus_device cdev,
struct drm_device ddev,
struct pci_dev pdev,
uint32_t  flags 
)

Definition at line 126 of file cirrus_main.c.

int cirrus_driver_load ( struct drm_device dev,
unsigned long  flags 
)

Definition at line 173 of file cirrus_main.c.

int cirrus_driver_unload ( struct drm_device dev)

Definition at line 204 of file cirrus_main.c.

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

Definition at line 241 of file cirrus_main.c.

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

Definition at line 266 of file cirrus_main.c.

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

Definition at line 309 of file cirrus_main.c.

int cirrus_framebuffer_init ( struct drm_device dev,
struct cirrus_framebuffer gfb,
struct drm_mode_fb_cmd2 mode_cmd,
struct drm_gem_object *  obj 
)

Definition at line 38 of file cirrus_main.c.

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

Definition at line 218 of file cirrus_main.c.

void cirrus_gem_free_object ( struct drm_gem_object *  obj)

Definition at line 293 of file cirrus_main.c.

int cirrus_gem_init_object ( struct drm_gem_object *  obj)

Definition at line 273 of file cirrus_main.c.