Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/sysrq.h>
#include <linux/slab.h>
#include <linux/fb.h>
#include <linux/module.h>
#include <drm/drmP.h>
#include <drm/drm_crtc.h>
#include <drm/drm_fb_helper.h>
#include <drm/drm_crtc_helper.h>
Go to the source code of this file.
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.
Definition at line 149 of file drm_fb_helper.c.
Definition at line 194 of file drm_fb_helper.c.
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 * | fb_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 * | fb_helper, | ||
int | crtc_count, | ||
int | max_conn_count | ||
) |
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.
int drm_fb_helper_panic | ( | struct notifier_block * | n, |
unsigned long | ununsed, | ||
void * | panic_str | ||
) |
Definition at line 258 of file drm_fb_helper.c.
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.
Definition at line 644 of file drm_fb_helper.c.
Definition at line 512 of file drm_fb_helper.c.
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 * | fb_helper, |
int | preferred_bpp | ||
) |
Definition at line 709 of file drm_fb_helper.c.
EXPORT_SYMBOL | ( | drm_fb_helper_single_add_all_connectors | ) |
EXPORT_SYMBOL | ( | drm_fb_helper_debug_enter | ) |
EXPORT_SYMBOL | ( | drm_fb_helper_debug_leave | ) |
EXPORT_SYMBOL | ( | drm_fb_helper_restore_fbdev_mode | ) |
EXPORT_SYMBOL | ( | drm_fb_helper_panic | ) |
EXPORT_SYMBOL | ( | drm_fb_helper_restore | ) |
EXPORT_SYMBOL | ( | drm_fb_helper_blank | ) |
EXPORT_SYMBOL | ( | drm_fb_helper_init | ) |
EXPORT_SYMBOL | ( | drm_fb_helper_fini | ) |
EXPORT_SYMBOL | ( | drm_fb_helper_setcmap | ) |
EXPORT_SYMBOL | ( | drm_fb_helper_check_var | ) |
EXPORT_SYMBOL | ( | drm_fb_helper_set_par | ) |
EXPORT_SYMBOL | ( | drm_fb_helper_pan_display | ) |
EXPORT_SYMBOL | ( | drm_fb_helper_single_fb_probe | ) |
EXPORT_SYMBOL | ( | drm_fb_helper_fill_fix | ) |
EXPORT_SYMBOL | ( | drm_fb_helper_fill_var | ) |
EXPORT_SYMBOL | ( | drm_fb_helper_initial_config | ) |
EXPORT_SYMBOL | ( | drm_fb_helper_hotplug_event | ) |
MODULE_AUTHOR | ( | "David | Airlie, |
Jesse Barnes" | |||
) |
MODULE_DESCRIPTION | ( | "DRM KMS helper" | ) |
MODULE_LICENSE | ( | "GPL and additional rights" | ) |