Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
drm_fb_helper.h File Reference
#include <linux/kgdb.h>

Go to the source code of this file.

Data Structures

struct  drm_fb_helper_crtc
struct  drm_fb_helper_surface_size
struct  drm_fb_helper_funcs
struct  drm_fb_helper_connector
struct  drm_fb_helper


int drm_fb_helper_single_fb_probe (struct drm_fb_helper *helper, int preferred_bpp)
int drm_fb_helper_init (struct drm_device *dev, struct drm_fb_helper *helper, int crtc_count, int max_conn)
void drm_fb_helper_fini (struct drm_fb_helper *helper)
int drm_fb_helper_blank (int blank, struct fb_info *info)
int drm_fb_helper_pan_display (struct fb_var_screeninfo *var, struct fb_info *info)
int drm_fb_helper_set_par (struct fb_info *info)
int drm_fb_helper_check_var (struct fb_var_screeninfo *var, struct fb_info *info)
int drm_fb_helper_setcolreg (unsigned regno, unsigned red, unsigned green, unsigned blue, unsigned transp, struct fb_info *info)
bool drm_fb_helper_restore_fbdev_mode (struct drm_fb_helper *fb_helper)
void drm_fb_helper_restore (void)
void drm_fb_helper_fill_var (struct fb_info *info, struct drm_fb_helper *fb_helper, uint32_t fb_width, uint32_t fb_height)
void drm_fb_helper_fill_fix (struct fb_info *info, uint32_t pitch, uint32_t depth)
int drm_fb_helper_setcmap (struct fb_cmap *cmap, struct fb_info *info)
int drm_fb_helper_hotplug_event (struct drm_fb_helper *fb_helper)
bool drm_fb_helper_initial_config (struct drm_fb_helper *fb_helper, int bpp_sel)
int drm_fb_helper_single_add_all_connectors (struct drm_fb_helper *fb_helper)
int drm_fb_helper_debug_enter (struct fb_info *info)
int drm_fb_helper_debug_leave (struct fb_info *info)

Function Documentation

int drm_fb_helper_blank ( int  blank,
struct fb_info info 

Definition at line 341 of file drm_fb_helper.c.

int drm_fb_helper_check_var ( struct fb_var_screeninfo var,
struct fb_info info 

Definition at line 551 of file drm_fb_helper.c.

int drm_fb_helper_debug_enter ( struct fb_info info)

Definition at line 149 of file drm_fb_helper.c.

int drm_fb_helper_debug_leave ( struct fb_info info)

Definition at line 194 of file drm_fb_helper.c.

void drm_fb_helper_fill_fix ( struct fb_info info,
uint32_t  pitch,
uint32_t  depth 

Definition at line 829 of file drm_fb_helper.c.

void drm_fb_helper_fill_var ( struct fb_info info,
struct drm_fb_helper fb_helper,
uint32_t  fb_width,
uint32_t  fb_height 

Definition at line 849 of file drm_fb_helper.c.

void drm_fb_helper_fini ( struct drm_fb_helper helper)

Definition at line 431 of file drm_fb_helper.c.

int drm_fb_helper_hotplug_event ( struct drm_fb_helper fb_helper)

drm_fb_helper_hotplug_event - respond to a hotplug notification by probing all the outputs attached to the fb. : the drm_fb_helper

LOCKING: Called at runtime, must take mode config lock.

Scan the connectors attached to the fb_helper and try to put together a setup after *notification of a change in output configuration.

RETURNS: 0 on success and a non-zero error code otherwise.

Definition at line 1345 of file drm_fb_helper.c.

int drm_fb_helper_init ( struct drm_device dev,
struct drm_fb_helper helper,
int  crtc_count,
int  max_conn 

Definition at line 384 of file drm_fb_helper.c.

bool drm_fb_helper_initial_config ( struct drm_fb_helper fb_helper,
int  bpp_sel 

drm_helper_initial_config - setup a sane initial connector configuration : DRM device

LOCKING: Called at init time, must take mode config lock.

Scan the CRTCs and connectors and try to put together an initial setup. At the moment, this is a cloned configuration across all heads with a new framebuffer object as the backing store.

RETURNS: Zero if everything went ok, nonzero otherwise.

Definition at line 1306 of file drm_fb_helper.c.

int drm_fb_helper_pan_display ( struct fb_var_screeninfo var,
struct fb_info info 

Definition at line 677 of file drm_fb_helper.c.

void drm_fb_helper_restore ( void  )

drm_fb_helper_restore - restore the framebuffer console (kernel) config

Restore's the kernel's fbcon mode, used for lastclose & panic paths.

Definition at line 282 of file drm_fb_helper.c.

bool drm_fb_helper_restore_fbdev_mode ( struct drm_fb_helper fb_helper)

Definition at line 225 of file drm_fb_helper.c.

int drm_fb_helper_set_par ( struct fb_info info)

Definition at line 644 of file drm_fb_helper.c.

int drm_fb_helper_setcmap ( struct fb_cmap cmap,
struct fb_info info 

Definition at line 512 of file drm_fb_helper.c.

int drm_fb_helper_setcolreg ( unsigned  regno,
unsigned  red,
unsigned  green,
unsigned  blue,
unsigned  transp,
struct fb_info info 
int drm_fb_helper_single_add_all_connectors ( struct drm_fb_helper fb_helper)

Definition at line 47 of file drm_fb_helper.c.

int drm_fb_helper_single_fb_probe ( struct drm_fb_helper helper,
int  preferred_bpp 

Definition at line 709 of file drm_fb_helper.c.