#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/slab.h>
#include <drm/drmP.h>
#include <drm/drm_core.h>
Go to the source code of this file.
|
| EXPORT_SYMBOL (drm_debug) |
|
| EXPORT_SYMBOL (drm_vblank_offdelay) |
|
| EXPORT_SYMBOL (drm_timestamp_precision) |
|
| MODULE_AUTHOR (CORE_AUTHOR) |
|
| MODULE_DESCRIPTION (CORE_DESC) |
|
| MODULE_LICENSE ("GPL and additional rights") |
|
| MODULE_PARM_DESC (debug,"Enable debug output") |
|
| MODULE_PARM_DESC (vblankoffdelay,"Delay until vblank irq auto-disable [msecs]") |
|
| MODULE_PARM_DESC (timestamp_precision_usec,"Max. error on timestamps [usecs]") |
|
| module_param_named (debug, drm_debug, int, 0600) |
|
| module_param_named (vblankoffdelay, drm_vblank_offdelay, int, 0600) |
|
| module_param_named (timestamp_precision_usec, drm_timestamp_precision, int, 0600) |
|
int | drm_err (const char *func, const char *format,...) |
|
| EXPORT_SYMBOL (drm_err) |
|
void | drm_ut_debug_printk (unsigned int request_level, const char *prefix, const char *function_name, const char *format,...) |
|
| EXPORT_SYMBOL (drm_ut_debug_printk) |
|
struct drm_master * | drm_master_create (struct drm_minor *minor) |
|
struct drm_master * | drm_master_get (struct drm_master *master) |
|
| EXPORT_SYMBOL (drm_master_get) |
|
void | drm_master_put (struct drm_master **master) |
|
| EXPORT_SYMBOL (drm_master_put) |
|
int | drm_setmaster_ioctl (struct drm_device *dev, void *data, struct drm_file *file_priv) |
|
int | drm_dropmaster_ioctl (struct drm_device *dev, void *data, struct drm_file *file_priv) |
|
int | drm_fill_in_dev (struct drm_device *dev, const struct pci_device_id *ent, struct drm_driver *driver) |
|
| EXPORT_SYMBOL (drm_fill_in_dev) |
|
int | drm_get_minor (struct drm_device *dev, struct drm_minor **minor, int type) |
|
| EXPORT_SYMBOL (drm_get_minor) |
|
int | drm_put_minor (struct drm_minor **minor_p) |
|
| EXPORT_SYMBOL (drm_put_minor) |
|
void | drm_put_dev (struct drm_device *dev) |
|
| EXPORT_SYMBOL (drm_put_dev) |
|
void | drm_unplug_dev (struct drm_device *dev) |
|
| EXPORT_SYMBOL (drm_unplug_dev) |
|
Get a secondary minor number.
- Parameters
-
dev | device data structure |
sec-minor | structure to hold the assigned minor |
- Returns
- negative number on failure.
Search an empty entry and initialize it to the given parameters, and create the proc init entry via proc_init(). This routines assigns minor numbers to secondary heads of multi-headed cards
Definition at line 335 of file drm_stub.c.
struct drm_master* drm_master_create |
( |
struct drm_minor * |
minor | ) |
|
|
read |
struct drm_master* drm_master_get |
( |
struct drm_master * |
master | ) |
|
|
read |
void drm_master_put |
( |
struct drm_master ** |
master | ) |
|
Called via drm_exit() at module unload time or when pci device is unplugged.
Cleans up all DRM device, calling drm_lastclose().
Definition at line 446 of file drm_stub.c.
int drm_put_minor |
( |
struct drm_minor ** |
minor_p | ) |
|
Put a secondary minor number.
- Parameters
-
sec_minor | - structure to be released |
- Returns
- always zero
Cleans up the proc resources. Not legal for this to be the last minor released.
Definition at line 412 of file drm_stub.c.
MODULE_LICENSE |
( |
"GPL and additional rights" |
| ) |
|
MODULE_PARM_DESC |
( |
vblankoffdelay |
, |
|
|
"Delay until vblank irq auto-disable " |
[msecs] |
|
) |
| |
MODULE_PARM_DESC |
( |
timestamp_precision_usec |
, |
|
|
"Max. error on timestamps " |
[usecs] |
|
) |
| |
unsigned int drm_debug = 0 |
unsigned int drm_timestamp_precision = 20 |
unsigned int drm_vblank_offdelay = 5000 |