diff options
Diffstat (limited to 'drivers/gpu/drm/gma500/psb_drv.h')
-rw-r--r-- | drivers/gpu/drm/gma500/psb_drv.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/psb_drv.h b/drivers/gpu/drm/gma500/psb_drv.h index 984cacfcbaf2..4535ac7708f8 100644 --- a/drivers/gpu/drm/gma500/psb_drv.h +++ b/drivers/gpu/drm/gma500/psb_drv.h | |||
@@ -27,6 +27,7 @@ | |||
27 | #include <drm/gma_drm.h> | 27 | #include <drm/gma_drm.h> |
28 | #include "psb_reg.h" | 28 | #include "psb_reg.h" |
29 | #include "psb_intel_drv.h" | 29 | #include "psb_intel_drv.h" |
30 | #include "gma_display.h" | ||
30 | #include "intel_bios.h" | 31 | #include "intel_bios.h" |
31 | #include "gtt.h" | 32 | #include "gtt.h" |
32 | #include "power.h" | 33 | #include "power.h" |
@@ -46,6 +47,7 @@ enum { | |||
46 | #define IS_PSB(dev) (((dev)->pci_device & 0xfffe) == 0x8108) | 47 | #define IS_PSB(dev) (((dev)->pci_device & 0xfffe) == 0x8108) |
47 | #define IS_MRST(dev) (((dev)->pci_device & 0xfffc) == 0x4100) | 48 | #define IS_MRST(dev) (((dev)->pci_device & 0xfffc) == 0x4100) |
48 | #define IS_MFLD(dev) (((dev)->pci_device & 0xfff8) == 0x0130) | 49 | #define IS_MFLD(dev) (((dev)->pci_device & 0xfff8) == 0x0130) |
50 | #define IS_CDV(dev) (((dev)->pci_device & 0xfff0) == 0x0be0) | ||
49 | 51 | ||
50 | /* | 52 | /* |
51 | * Driver definitions | 53 | * Driver definitions |
@@ -675,6 +677,7 @@ struct psb_ops { | |||
675 | /* Sub functions */ | 677 | /* Sub functions */ |
676 | struct drm_crtc_helper_funcs const *crtc_helper; | 678 | struct drm_crtc_helper_funcs const *crtc_helper; |
677 | struct drm_crtc_funcs const *crtc_funcs; | 679 | struct drm_crtc_funcs const *crtc_funcs; |
680 | const struct gma_clock_funcs *clock_funcs; | ||
678 | 681 | ||
679 | /* Setup hooks */ | 682 | /* Setup hooks */ |
680 | int (*chip_setup)(struct drm_device *dev); | 683 | int (*chip_setup)(struct drm_device *dev); |
@@ -692,6 +695,8 @@ struct psb_ops { | |||
692 | int (*restore_regs)(struct drm_device *dev); | 695 | int (*restore_regs)(struct drm_device *dev); |
693 | int (*power_up)(struct drm_device *dev); | 696 | int (*power_up)(struct drm_device *dev); |
694 | int (*power_down)(struct drm_device *dev); | 697 | int (*power_down)(struct drm_device *dev); |
698 | void (*update_wm)(struct drm_device *dev, struct drm_crtc *crtc); | ||
699 | void (*disable_sr)(struct drm_device *dev); | ||
695 | 700 | ||
696 | void (*lvds_bl_power)(struct drm_device *dev, bool on); | 701 | void (*lvds_bl_power)(struct drm_device *dev, bool on); |
697 | #ifdef CONFIG_BACKLIGHT_CLASS_DEVICE | 702 | #ifdef CONFIG_BACKLIGHT_CLASS_DEVICE |