diff options
author | Thomas White <taw@bitwiz.org.uk> | 2009-08-04 21:34:34 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2009-08-04 21:34:34 +0100 |
commit | f3f88c9cd448361f2e96023894fe2b4701488dd4 (patch) | |
tree | c6f41b4af62d9f3d36dc7b4ee0760e319b3bdb3e /drivers/mfd/glamo/glamo-drm-private.h | |
parent | 8bb0c5afa71d38dbc823b30aa9e75371becc2c31 (diff) |
Keep glamo-kms-fb off the hardware registers
This removes the last remaining instance of glamo-kms-fb touching Glamo's
registers directly.
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 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mfd/glamo/glamo-drm-private.h b/drivers/mfd/glamo/glamo-drm-private.h index e87c333aa6d..91c8a2b4993 100644 --- a/drivers/mfd/glamo/glamo-drm-private.h +++ b/drivers/mfd/glamo/glamo-drm-private.h @@ -123,6 +123,14 @@ struct glamo_output { }; +/* Colour mode for KMS framebuffer */ +enum { + GLAMO_FB_RGB565, + GLAMO_FB_ARGB1555, + GLAMO_FB_ARGB4444 +}; + + #define to_glamo_crtc(x) container_of(x, struct glamo_crtc, base) #define to_glamo_output(x) container_of(x, struct glamo_output, base) #define enc_to_glamo_output(x) container_of(x, struct glamo_output, enc) |