Linux Kernel
3.7.1
|
#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) |
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.
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.
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.
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.