Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
drivers
gpu
drm
nouveau
nouveau_acpi.h
Go to the documentation of this file.
1
#ifndef __NOUVEAU_ACPI_H__
2
#define __NOUVEAU_ACPI_H__
3
4
#define ROM_BIOS_PAGE 4096
5
6
#if defined(CONFIG_ACPI)
7
void
nouveau_register_dsm_handler
(
void
);
8
void
nouveau_unregister_dsm_handler
(
void
);
9
void
nouveau_switcheroo_optimus_dsm
(
void
);
10
int
nouveau_acpi_get_bios_chunk
(
uint8_t
*
bios
,
int
offset
,
int
len);
11
bool
nouveau_acpi_rom_supported
(
struct
pci_dev
*pdev);
12
void
*
nouveau_acpi_edid
(
struct
drm_device
*,
struct
drm_connector
*);
13
#else
14
static
inline
void
nouveau_register_dsm_handler
(
void
) {}
15
static
inline
void
nouveau_unregister_dsm_handler
(
void
) {}
16
static
inline
void
nouveau_switcheroo_optimus_dsm
(
void
) {}
17
static
inline
bool
nouveau_acpi_rom_supported
(
struct
pci_dev
*pdev) {
return
false
; }
18
static
inline
int
nouveau_acpi_get_bios_chunk
(
uint8_t
*
bios
,
int
offset
,
int
len) {
return
-
EINVAL
; }
19
static
inline
void
*
nouveau_acpi_edid
(
struct
drm_device
*
dev
,
struct
drm_connector
*
connector
) {
return
NULL
; }
20
#endif
21
22
#endif
Generated on Thu Jan 10 2013 13:32:43 for Linux Kernel by
1.8.2