Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
intel_panel.c File Reference
#include <linux/moduleparam.h>
#include "intel_drv.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define PCI_LBPC   0xf4 /* legacy/combination backlight modes */
 

Functions

void intel_fixed_panel_mode (struct drm_display_mode *fixed_mode, struct drm_display_mode *adjusted_mode)
 
void intel_pch_panel_fitting (struct drm_device *dev, int fitting_mode, const struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode)
 
u32 intel_panel_get_max_backlight (struct drm_device *dev)
 
 MODULE_PARM_DESC (invert_brightness,"Invert backlight brightness ""(-1 force normal, 0 machine defaults, 1 force inversion), please ""report PCI device ID, subsystem vendor and subsystem device ID ""to dri[email protected], if your machine needs it. ""It will then be included in an upcoming module version.")
 
 module_param_named (invert_brightness, i915_panel_invert_brightness, int, 0600)
 
void intel_panel_set_backlight (struct drm_device *dev, u32 level)
 
void intel_panel_disable_backlight (struct drm_device *dev)
 
void intel_panel_enable_backlight (struct drm_device *dev, enum pipe pipe)
 
enum drm_connector_status intel_panel_detect (struct drm_device *dev)
 
int intel_panel_setup_backlight (struct drm_device *dev)
 
void intel_panel_destroy_backlight (struct drm_device *dev)
 

Macro Definition Documentation

#define PCI_LBPC   0xf4 /* legacy/combination backlight modes */

Definition at line 36 of file intel_panel.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 31 of file intel_panel.c.

Function Documentation

void intel_fixed_panel_mode ( struct drm_display_mode fixed_mode,
struct drm_display_mode adjusted_mode 
)

Definition at line 39 of file intel_panel.c.

void intel_panel_destroy_backlight ( struct drm_device dev)

Definition at line 469 of file intel_panel.c.

enum drm_connector_status intel_panel_detect ( struct drm_device dev)

Definition at line 375 of file intel_panel.c.

void intel_panel_disable_backlight ( struct drm_device dev)

Definition at line 293 of file intel_panel.c.

void intel_panel_enable_backlight ( struct drm_device dev,
enum pipe pipe   
)

Definition at line 315 of file intel_panel.c.

u32 intel_panel_get_max_backlight ( struct drm_device dev)

Definition at line 187 of file intel_panel.c.

void intel_panel_set_backlight ( struct drm_device dev,
u32  level 
)

Definition at line 284 of file intel_panel.c.

int intel_panel_setup_backlight ( struct drm_device dev)

Definition at line 463 of file intel_panel.c.

void intel_pch_panel_fitting ( struct drm_device dev,
int  fitting_mode,
const struct drm_display_mode mode,
struct drm_display_mode adjusted_mode 
)

Definition at line 57 of file intel_panel.c.

module_param_named ( invert_brightness  ,
i915_panel_invert_brightness  ,
int  ,
0600   
)
MODULE_PARM_DESC ( invert_brightness  ,
"Invert backlight brightness ""  -1 force normal, 0 machine defaults, 1 force inversion,
please""report PCI device  ID,
subsystem vendor and subsystem device ID""to dri-devel @lists.freedesktop.  org,
if your machine needs it.""It will then be included in an upcoming module version."   
)