Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
nouveau_drm.h File Reference
#include <core/client.h>
#include <subdev/vm.h>
#include <drmP.h>
#include <drm/nouveau_drm.h>
#include <drm/ttm/ttm_bo_api.h>
#include <drm/ttm/ttm_bo_driver.h>
#include <drm/ttm/ttm_placement.h>
#include <drm/ttm/ttm_memory.h>
#include <drm/ttm/ttm_module.h>
#include <drm/ttm/ttm_page_alloc.h>
#include "nouveau_fence.h"
#include "nouveau_bios.h"

Go to the source code of this file.

Data Structures

struct  nouveau_drm_tile
 
struct  nouveau_cli
 
struct  nouveau_drm
 

Macros

#define DRIVER_AUTHOR   "Nouveau Project"
 
#define DRIVER_EMAIL   "[email protected]"
 
#define DRIVER_NAME   "nouveau"
 
#define DRIVER_DESC   "nVidia Riva/TNT/GeForce/Quadro/Tesla"
 
#define DRIVER_DATE   "20120801"
 
#define DRIVER_MAJOR   1
 
#define DRIVER_MINOR   1
 
#define DRIVER_PATCHLEVEL   0
 
#define DRM_FILE_PAGE_OFFSET   (0x100000000ULL >> PAGE_SHIFT)
 
#define NV_FATAL(cli, fmt, args...)   nv_fatal((cli), fmt, ##args)
 
#define NV_ERROR(cli, fmt, args...)   nv_error((cli), fmt, ##args)
 
#define NV_WARN(cli, fmt, args...)   nv_warn((cli), fmt, ##args)
 
#define NV_INFO(cli, fmt, args...)   nv_info((cli), fmt, ##args)
 
#define NV_DEBUG(cli, fmt, args...)
 

Enumerations

enum  nouveau_drm_handle { NVDRM_CLIENT = 0xffffffff, NVDRM_DEVICE = 0xdddddddd, NVDRM_PUSH = 0xbbbb0000, NVDRM_CHAN = 0xcccc0000 }
 

Functions

int nouveau_drm_suspend (struct pci_dev *, pm_message_t)
 
int nouveau_drm_resume (struct pci_dev *)
 

Variables

int nouveau_modeset
 

Macro Definition Documentation

#define DRIVER_AUTHOR   "Nouveau Project"

Definition at line 4 of file nouveau_drm.h.

#define DRIVER_DATE   "20120801"

Definition at line 9 of file nouveau_drm.h.

#define DRIVER_DESC   "nVidia Riva/TNT/GeForce/Quadro/Tesla"

Definition at line 8 of file nouveau_drm.h.

#define DRIVER_EMAIL   "[email protected]"

Definition at line 5 of file nouveau_drm.h.

#define DRIVER_MAJOR   1

Definition at line 11 of file nouveau_drm.h.

#define DRIVER_MINOR   1

Definition at line 12 of file nouveau_drm.h.

#define DRIVER_NAME   "nouveau"

Definition at line 7 of file nouveau_drm.h.

#define DRIVER_PATCHLEVEL   0

Definition at line 13 of file nouveau_drm.h.

#define DRM_FILE_PAGE_OFFSET   (0x100000000ULL >> PAGE_SHIFT)

Definition at line 31 of file nouveau_drm.h.

#define NV_DEBUG (   cli,
  fmt,
  args... 
)
Value:
do { \
if (drm_debug & DRM_UT_DRIVER) \
nv_info((cli), fmt, ##args); \
} while (0)

Definition at line 139 of file nouveau_drm.h.

#define NV_ERROR (   cli,
  fmt,
  args... 
)    nv_error((cli), fmt, ##args)

Definition at line 136 of file nouveau_drm.h.

#define NV_FATAL (   cli,
  fmt,
  args... 
)    nv_fatal((cli), fmt, ##args)

Definition at line 135 of file nouveau_drm.h.

#define NV_INFO (   cli,
  fmt,
  args... 
)    nv_info((cli), fmt, ##args)

Definition at line 138 of file nouveau_drm.h.

#define NV_WARN (   cli,
  fmt,
  args... 
)    nv_warn((cli), fmt, ##args)

Definition at line 137 of file nouveau_drm.h.

Enumeration Type Documentation

Enumerator:
NVDRM_CLIENT 
NVDRM_DEVICE 
NVDRM_PUSH 
NVDRM_CHAN 

Definition at line 41 of file nouveau_drm.h.

Function Documentation

int nouveau_drm_resume ( struct pci_dev )

Definition at line 461 of file nouveau_drm.c.

int nouveau_drm_suspend ( struct pci_dev ,
pm_message_t   
)

Definition at line 398 of file nouveau_drm.c.

Variable Documentation

int nouveau_modeset

Definition at line 68 of file nouveau_drm.c.