Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
drm_crtc_funcs Struct Reference

#include <drm_crtc.h>

Data Fields

void(* save )(struct drm_crtc *crtc)
 
void(* restore )(struct drm_crtc *crtc)
 
void(* reset )(struct drm_crtc *crtc)
 
int(* cursor_set )(struct drm_crtc *crtc, struct drm_file *file_priv, uint32_t handle, uint32_t width, uint32_t height)
 
int(* cursor_move )(struct drm_crtc *crtc, int x, int y)
 
void(* gamma_set )(struct drm_crtc *crtc, u16 *r, u16 *g, u16 *b, uint32_t start, uint32_t size)
 
void(* destroy )(struct drm_crtc *crtc)
 
int(* set_config )(struct drm_mode_set *set)
 
int(* page_flip )(struct drm_crtc *crtc, struct drm_framebuffer *fb, struct drm_pending_vblank_event *event)
 
int(* set_property )(struct drm_crtc *crtc, struct drm_property *property, uint64_t val)
 

Detailed Description

drm_crtc_funcs - control CRTCs for a given device : save CRTC state : restore CRTC state : reset CRTC after state has been invalidate (e.g. resume) : setup the cursor : move the cursor : specify color ramp for CRTC : deinit and free object : called when a property is changed : apply a new CRTC configuration : initiate a page flip

The drm_crtc_funcs structure is the central CRTC management structure in the DRM. Each CRTC controls one or more connectors (note that the name CRTC is simply historical, a CRTC may control LVDS, VGA, DVI, TV out, etc. connectors, not just CRTs).

Each driver is responsible for filling out this structure at startup time, in addition to providing other modesetting features, like i2c and DDC bus accessors.

Definition at line 326 of file drm_crtc.h.

Field Documentation

int(* cursor_move)(struct drm_crtc *crtc, int x, int y)

Definition at line 337 of file drm_crtc.h.

int(* cursor_set)(struct drm_crtc *crtc, struct drm_file *file_priv, uint32_t handle, uint32_t width, uint32_t height)

Definition at line 335 of file drm_crtc.h.

void(* destroy)(struct drm_crtc *crtc)

Definition at line 343 of file drm_crtc.h.

Definition at line 340 of file drm_crtc.h.

int(* page_flip)(struct drm_crtc *crtc, struct drm_framebuffer *fb, struct drm_pending_vblank_event *event)

Definition at line 356 of file drm_crtc.h.

void(* reset)(struct drm_crtc *crtc)

Definition at line 332 of file drm_crtc.h.

void(* restore)(struct drm_crtc *crtc)

Definition at line 330 of file drm_crtc.h.

void(* save)(struct drm_crtc *crtc)

Definition at line 328 of file drm_crtc.h.

int(* set_config)(struct drm_mode_set *set)

Definition at line 345 of file drm_crtc.h.

Definition at line 360 of file drm_crtc.h.


The documentation for this struct was generated from the following file: