aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fsl-diu-fb.h
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2011-09-28 16:19:53 -0500
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-10-05 01:10:12 +0000
commitc4e5a0232763db22d6c60c391ed5816b2b2ac063 (patch)
tree8a57e8447ca0b025feba742b54296da3e7eafc55 /include/linux/fsl-diu-fb.h
parent7e47c211953bd8e396b168eba2c288ea6aec20ef (diff)
drivers/video: fsl-diu-fb: only DIU modes 0 and 1 are supported
The Freescale DIU video controller supports five video "modes", but only the first two are used by the driver. The other three are special modes that don't make sense for a framebuffer driver. Therefore, there's no point in keeping a global variable that indicates which mode we're supposed to use. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'include/linux/fsl-diu-fb.h')
-rw-r--r--include/linux/fsl-diu-fb.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/fsl-diu-fb.h b/include/linux/fsl-diu-fb.h
index 363d5e290ca..11c16a1fb9e 100644
--- a/include/linux/fsl-diu-fb.h
+++ b/include/linux/fsl-diu-fb.h
@@ -153,12 +153,12 @@ struct diu {
__be32 plut;
} __attribute__ ((packed));
-/* Modes of operation of DIU */
+/*
+ * Modes of operation of DIU. The DIU supports five different modes, but
+ * the driver only supports modes 0 and 1.
+ */
#define MFB_MODE0 0 /* DIU off */
#define MFB_MODE1 1 /* All three planes output to display */
-#define MFB_MODE2 2 /* Plane 1 to display, planes 2+3 written back*/
-#define MFB_MODE3 3 /* All three planes written back to memory */
-#define MFB_MODE4 4 /* Color bar generation */
#endif /* __KERNEL__ */
#endif /* __FSL_DIU_FB_H__ */