diff options
author | Timur Tabi <timur@freescale.com> | 2011-09-28 17:19:53 -0400 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-10-04 21:10:12 -0400 |
commit | c4e5a0232763db22d6c60c391ed5816b2b2ac063 (patch) | |
tree | 8a57e8447ca0b025feba742b54296da3e7eafc55 /include/linux/fsl-diu-fb.h | |
parent | 7e47c211953bd8e396b168eba2c288ea6aec20ef (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.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/fsl-diu-fb.h b/include/linux/fsl-diu-fb.h index 363d5e290cad..11c16a1fb9e3 100644 --- a/include/linux/fsl-diu-fb.h +++ b/include/linux/fsl-diu-fb.h | |||
@@ -153,12 +153,12 @@ struct diu { | |||
153 | __be32 plut; | 153 | __be32 plut; |
154 | } __attribute__ ((packed)); | 154 | } __attribute__ ((packed)); |
155 | 155 | ||
156 | /* Modes of operation of DIU */ | 156 | /* |
157 | * Modes of operation of DIU. The DIU supports five different modes, but | ||
158 | * the driver only supports modes 0 and 1. | ||
159 | */ | ||
157 | #define MFB_MODE0 0 /* DIU off */ | 160 | #define MFB_MODE0 0 /* DIU off */ |
158 | #define MFB_MODE1 1 /* All three planes output to display */ | 161 | #define MFB_MODE1 1 /* All three planes output to display */ |
159 | #define MFB_MODE2 2 /* Plane 1 to display, planes 2+3 written back*/ | ||
160 | #define MFB_MODE3 3 /* All three planes written back to memory */ | ||
161 | #define MFB_MODE4 4 /* Color bar generation */ | ||
162 | 162 | ||
163 | #endif /* __KERNEL__ */ | 163 | #endif /* __KERNEL__ */ |
164 | #endif /* __FSL_DIU_FB_H__ */ | 164 | #endif /* __FSL_DIU_FB_H__ */ |