diff options
author | Alan Cox <alan@linux.intel.com> | 2011-07-15 17:34:58 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-07-15 19:05:08 +0200 |
commit | f642062fc7a6bebdd857408e7a9f678bfd2e4004 (patch) | |
tree | b976fd70f1b8dad42e7181b9453f396fc2f406c7 /drivers/staging/gma500/psb_drv.h | |
parent | 1e585b52fd8ea59792634bc31d227eb3456af22e (diff) | |
download | op-kernel-dev-f642062fc7a6bebdd857408e7a9f678bfd2e4004.zip op-kernel-dev-f642062fc7a6bebdd857408e7a9f678bfd2e4004.tar.gz |
gma500: More Moorestown muddle meddling means MM maybe might modeset
There are a least three different species we need to deal with and right
now it seems the only way to sort them out is via DMI. Encapsulate the
entire pile somewhere private and out of the way.
Hopefully a saner method will emerge later.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/gma500/psb_drv.h')
-rw-r--r-- | drivers/staging/gma500/psb_drv.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/staging/gma500/psb_drv.h b/drivers/staging/gma500/psb_drv.h index 25275f7..829657b 100644 --- a/drivers/staging/gma500/psb_drv.h +++ b/drivers/staging/gma500/psb_drv.h @@ -388,6 +388,11 @@ struct drm_psb_private { uint32_t dspcntr1; uint32_t dspcntr2; + /* Moorestown MM backlight cache */ + uint8_t saveBKLTCNT; + uint8_t saveBKLTREQ; + uint8_t saveBKLTBRTL; + /* * Register state */ @@ -644,10 +649,13 @@ struct psb_ops { int (*restore_regs)(struct drm_device *dev); int (*power_up)(struct drm_device *dev); int (*power_down)(struct drm_device *dev); + + void (*lvds_bl_power)(struct drm_device *dev, bool on); #ifdef CONFIG_BACKLIGHT_CLASS_DEVICE /* Backlight */ int (*backlight_init)(struct drm_device *dev); #endif + int i2c_bus; /* I2C bus identifier for Moorestown */ }; |