diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drv.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drv.h | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h index 1c15ef37b71c..85c05feab4f0 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.h +++ b/drivers/gpu/drm/nouveau/nouveau_drv.h | |||
@@ -614,7 +614,6 @@ struct drm_nouveau_private { | |||
614 | } susres; | 614 | } susres; |
615 | 615 | ||
616 | struct backlight_device *backlight; | 616 | struct backlight_device *backlight; |
617 | bool acpi_dsm; | ||
618 | 617 | ||
619 | struct nouveau_channel *evo; | 618 | struct nouveau_channel *evo; |
620 | 619 | ||
@@ -682,6 +681,9 @@ extern int nouveau_ignorelid; | |||
682 | extern int nouveau_nofbaccel; | 681 | extern int nouveau_nofbaccel; |
683 | extern int nouveau_noaccel; | 682 | extern int nouveau_noaccel; |
684 | 683 | ||
684 | extern int nouveau_pci_suspend(struct pci_dev *pdev, pm_message_t pm_state); | ||
685 | extern int nouveau_pci_resume(struct pci_dev *pdev); | ||
686 | |||
685 | /* nouveau_state.c */ | 687 | /* nouveau_state.c */ |
686 | extern void nouveau_preclose(struct drm_device *dev, struct drm_file *); | 688 | extern void nouveau_preclose(struct drm_device *dev, struct drm_file *); |
687 | extern int nouveau_load(struct drm_device *, unsigned long flags); | 689 | extern int nouveau_load(struct drm_device *, unsigned long flags); |
@@ -848,19 +850,8 @@ extern int nouveau_dma_init(struct nouveau_channel *); | |||
848 | extern int nouveau_dma_wait(struct nouveau_channel *, int size); | 850 | extern int nouveau_dma_wait(struct nouveau_channel *, int size); |
849 | 851 | ||
850 | /* nouveau_acpi.c */ | 852 | /* nouveau_acpi.c */ |
851 | #ifdef CONFIG_ACPI | 853 | void nouveau_register_dsm_handler(void); |
852 | extern int nouveau_hybrid_setup(struct drm_device *dev); | 854 | void nouveau_unregister_dsm_handler(void); |
853 | extern bool nouveau_dsm_probe(struct drm_device *dev); | ||
854 | #else | ||
855 | static inline int nouveau_hybrid_setup(struct drm_device *dev) | ||
856 | { | ||
857 | return 0; | ||
858 | } | ||
859 | static inline bool nouveau_dsm_probe(struct drm_device *dev) | ||
860 | { | ||
861 | return false; | ||
862 | } | ||
863 | #endif | ||
864 | 855 | ||
865 | /* nouveau_backlight.c */ | 856 | /* nouveau_backlight.c */ |
866 | #ifdef CONFIG_DRM_NOUVEAU_BACKLIGHT | 857 | #ifdef CONFIG_DRM_NOUVEAU_BACKLIGHT |