diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-02-28 16:20:57 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2010-02-28 23:34:03 +0100 |
commit | c7bf4a334c1e498007a9e785948cb03c8da0f029 (patch) | |
tree | 3f7028a3df210778f724841876c7e2b1e5c35349 /drivers/mfd/glamo/glamo-drm-private.h | |
parent | 76ab2acfeea8b762d25dab027e72e98a7b822ed2 (diff) |
Simplify the JBT6k74 driver
We don't need all the native sleep states - they just complicate things. Instead, just
use the LDO "power switch" to send it firmly to sleep and wake it up in a virgin state
each time.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
Diffstat (limited to 'drivers/mfd/glamo/glamo-drm-private.h')
-rw-r--r-- | drivers/mfd/glamo/glamo-drm-private.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/mfd/glamo/glamo-drm-private.h b/drivers/mfd/glamo/glamo-drm-private.h index 7949a2e47b9..4e24019672e 100644 --- a/drivers/mfd/glamo/glamo-drm-private.h +++ b/drivers/mfd/glamo/glamo-drm-private.h @@ -106,6 +106,9 @@ struct glamodrm_handle { /* A scratch block */ struct drm_mm_node *scratch; + + /* We only have one */ + struct drm_crtc *crtc; }; @@ -118,11 +121,18 @@ struct drm_glamo_gem_object { struct glamo_crtc { + struct drm_crtc base; struct glamodrm_handle *gdrm; /* a mode_set for fbdev users on this crtc */ struct drm_mode_set mode_set; int blank_mode; + + int pixel_clock_on; + + int current_mode_set; + struct drm_display_mode current_mode; + struct drm_framebuffer *current_fb; }; |