Lines 973-980
void nouveau_register_dsm_handler(void);
Link Here
|
973 |
void nouveau_unregister_dsm_handler(void); |
973 |
void nouveau_unregister_dsm_handler(void); |
974 |
int nouveau_acpi_get_bios_chunk(uint8_t *bios, int offset, int len); |
974 |
int nouveau_acpi_get_bios_chunk(uint8_t *bios, int offset, int len); |
975 |
bool nouveau_acpi_rom_supported(struct pci_dev *pdev); |
975 |
bool nouveau_acpi_rom_supported(struct pci_dev *pdev); |
|
|
976 |
#if defined(CONFIG_ACPI_VIDEO) |
976 |
int nouveau_acpi_edid(struct drm_device *, struct drm_connector *); |
977 |
int nouveau_acpi_edid(struct drm_device *, struct drm_connector *); |
977 |
#else |
978 |
#else |
|
|
979 |
static inline int nouveau_acpi_edid(struct drm_device *dev, struct drm_connector *connector) { return -EINVAL; } |
980 |
#endif |
981 |
#else |
978 |
static inline void nouveau_register_dsm_handler(void) {} |
982 |
static inline void nouveau_register_dsm_handler(void) {} |
979 |
static inline void nouveau_unregister_dsm_handler(void) {} |
983 |
static inline void nouveau_unregister_dsm_handler(void) {} |
980 |
static inline bool nouveau_acpi_rom_supported(struct pci_dev *pdev) { return false; } |
984 |
static inline bool nouveau_acpi_rom_supported(struct pci_dev *pdev) { return false; } |