Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
omap_drv.c File Reference
#include "omap_drv.h"
#include "drm_crtc_helper.h"
#include "drm_fb_helper.h"
#include "omap_dmm_tiler.h"

Go to the source code of this file.

Macros

#define DRIVER_NAME   MODULE_NAME
 
#define DRIVER_DESC   "OMAP DRM"
 
#define DRIVER_DATE   "20110917"
 
#define DRIVER_MAJOR   1
 
#define DRIVER_MINOR   0
 
#define DRIVER_PATCHLEVEL   0
 

Functions

 MODULE_PARM_DESC (num_crtc,"Number of overlays to use as CRTCs")
 
 module_param (num_crtc, int, 0600)
 
 late_initcall (omap_drm_init)
 
 module_exit (omap_drm_fini)
 
 MODULE_AUTHOR ("Rob Clark <[email protected]>")
 
 MODULE_DESCRIPTION ("OMAP DRM Display Driver")
 
 MODULE_ALIAS ("platform:"DRIVER_NAME)
 
 MODULE_LICENSE ("GPL v2")
 

Variables

struct drm_device * drm_device
 
struct drm_ioctl_desc ioctls [DRM_COMMAND_END-DRM_COMMAND_BASE]
 
struct platform_driver pdev
 

Macro Definition Documentation

#define DRIVER_DATE   "20110917"

Definition at line 28 of file omap_drv.c.

#define DRIVER_DESC   "OMAP DRM"

Definition at line 27 of file omap_drv.c.

#define DRIVER_MAJOR   1

Definition at line 29 of file omap_drv.c.

#define DRIVER_MINOR   0

Definition at line 30 of file omap_drv.c.

#define DRIVER_NAME   MODULE_NAME

Definition at line 26 of file omap_drv.c.

#define DRIVER_PATCHLEVEL   0

Definition at line 31 of file omap_drv.c.

Function Documentation

late_initcall ( omap_drm_init  )
MODULE_ALIAS ( "platform:"  DRIVER_NAME)
MODULE_AUTHOR ( "Rob Clark <[email protected]>"  )
MODULE_DESCRIPTION ( "OMAP DRM Display Driver"  )
module_exit ( omap_drm_fini  )
MODULE_LICENSE ( "GPL v2 )
module_param ( num_crtc  ,
int  ,
0600   
)
MODULE_PARM_DESC ( num_crtc  ,
"Number of overlays to use as CRTCs"   
)

Variable Documentation

struct drm_device* drm_device

Definition at line 33 of file omap_drv.c.

struct drm_ioctl_desc ioctls[DRM_COMMAND_END-DRM_COMMAND_BASE]
Initial value:
= {
DRM_IOCTL_DEF_DRV(OMAP_GET_PARAM, ioctl_get_param, DRM_UNLOCKED|DRM_AUTH),
DRM_IOCTL_DEF_DRV(OMAP_SET_PARAM, ioctl_set_param, DRM_UNLOCKED|DRM_AUTH|DRM_MASTER|DRM_ROOT_ONLY),
DRM_IOCTL_DEF_DRV(OMAP_GEM_NEW, ioctl_gem_new, DRM_UNLOCKED|DRM_AUTH),
DRM_IOCTL_DEF_DRV(OMAP_GEM_CPU_PREP, ioctl_gem_cpu_prep, DRM_UNLOCKED|DRM_AUTH),
DRM_IOCTL_DEF_DRV(OMAP_GEM_CPU_FINI, ioctl_gem_cpu_fini, DRM_UNLOCKED|DRM_AUTH),
DRM_IOCTL_DEF_DRV(OMAP_GEM_INFO, ioctl_gem_info, DRM_UNLOCKED|DRM_AUTH),
}

Definition at line 535 of file omap_drv.c.

Initial value:
= {
.driver = {
.name = DRIVER_NAME,
.owner = THIS_MODULE,
},
.probe = pdev_probe,
.remove = pdev_remove,
.suspend = pdev_suspend,
.resume = pdev_resume,
.shutdown = pdev_shutdown,
}

Definition at line 838 of file omap_drv.c.