Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
psb_drv.c File Reference
#include <drm/drmP.h>
#include <drm/drm.h>
#include <drm/gma_drm.h>
#include "psb_drv.h"
#include "framebuffer.h"
#include "psb_reg.h"
#include "psb_intel_reg.h"
#include "intel_bios.h"
#include "mid_bios.h"
#include <drm/drm_pciids.h>
#include "power.h"
#include <linux/cpu.h>
#include <linux/notifier.h>
#include <linux/spinlock.h>
#include <linux/pm_runtime.h>
#include <acpi/video.h>
#include <linux/module.h>

Go to the source code of this file.

Macros

#define DRM_IOCTL_GMA_ADB   DRM_IOWR(DRM_GMA_ADB + DRM_COMMAND_BASE, uint32_t)
 
#define DRM_IOCTL_GMA_MODE_OPERATION
 
#define DRM_IOCTL_GMA_STOLEN_MEMORY
 
#define DRM_IOCTL_GMA_GAMMA
 
#define DRM_IOCTL_GMA_DPST_BL
 
#define DRM_IOCTL_GMA_GET_PIPE_FROM_CRTC_ID
 
#define DRM_IOCTL_GMA_GEM_CREATE
 
#define DRM_IOCTL_GMA_GEM_MMAP
 

Functions

 MODULE_PARM_DESC (trap_pagefaults,"Error and reset on MMU pagefaults")
 
 module_param_named (trap_pagefaults, drm_psb_trap_pagefaults, int, 0600)
 
 MODULE_DEVICE_TABLE (pci, pciidlist)
 
 late_initcall (psb_init)
 
 module_exit (psb_exit)
 
 MODULE_AUTHOR ("Alan Cox <[email protected]> and others")
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DRM_IOCTL_GMA_ADB   DRM_IOWR(DRM_GMA_ADB + DRM_COMMAND_BASE, uint32_t)

Definition at line 99 of file psb_drv.c.

#define DRM_IOCTL_GMA_DPST_BL
Value:

Definition at line 110 of file psb_drv.c.

#define DRM_IOCTL_GMA_GAMMA
Value:

Definition at line 107 of file psb_drv.c.

#define DRM_IOCTL_GMA_GEM_CREATE
Value:

Definition at line 116 of file psb_drv.c.

#define DRM_IOCTL_GMA_GEM_MMAP
Value:

Definition at line 119 of file psb_drv.c.

#define DRM_IOCTL_GMA_GET_PIPE_FROM_CRTC_ID
#define DRM_IOCTL_GMA_MODE_OPERATION
#define DRM_IOCTL_GMA_STOLEN_MEMORY

Function Documentation

late_initcall ( psb_init  )
MODULE_AUTHOR ( "Alan Cox <[email protected]> and others"  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
MODULE_DEVICE_TABLE ( pci  ,
pciidlist   
)
module_exit ( psb_exit  )
MODULE_LICENSE ( "GPL"  )
module_param_named ( trap_pagefaults  ,
drm_psb_trap_pagefaults  ,
int  ,
0600   
)
MODULE_PARM_DESC ( trap_pagefaults  ,
"Error and reset on MMU pagefaults"   
)