summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaiyu Ko <dko@freescale.com>2012-09-19 11:15:43 -0500
committerDaiyu Ko <dko@freescale.com>2012-09-19 11:17:48 -0500
commit36d0a0ee33bc6c6626abe9a76509161b3ab53197 (patch)
treed75cdceda5465a8b33d06a62aa648feb75a7cede /include
parent18079ec20d80ecccf8279c70c9e67b6ebf8b3f22 (diff)
ENGR00221594 Add Dithering algorism support into EPDC driver
Adding Atkinson's dithering alorism implementation into our EPDC Driver with Y8->Y1 and Y8->Y4 supported. Two EPDC flags have been added to support the features. EPDC_FLAG_USE_DITHERING_Y1 and EPDC_FLAG_USE_DITHERING_Y4. Signed-off-by: Daiyu Ko <dko@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mxcfb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mxcfb.h b/include/linux/mxcfb.h
index 60e0aa09d0b8..e852a8af7369 100644
--- a/include/linux/mxcfb.h
+++ b/include/linux/mxcfb.h
@@ -92,6 +92,8 @@ struct mxcfb_rect {
#define EPDC_FLAG_USE_ALT_BUFFER 0x100
#define EPDC_FLAG_TEST_COLLISION 0x200
#define EPDC_FLAG_GROUP_UPDATE 0x400
+#define EPDC_FLAG_USE_DITHERING_Y1 0x2000
+#define EPDC_FLAG_USE_DITHERING_Y4 0x4000
#define FB_POWERDOWN_DISABLE -1
@@ -152,6 +154,7 @@ struct mxcfb_waveform_modes {
#define MXCFB_SET_PWRDOWN_DELAY _IOW('F', 0x30, int32_t)
#define MXCFB_GET_PWRDOWN_DELAY _IOR('F', 0x31, int32_t)
#define MXCFB_SET_UPDATE_SCHEME _IOW('F', 0x32, __u32)
+#define MXCFB_GET_WORK_BUFFER _IOWR('F', 0x34, unsigned long)
#ifdef __KERNEL__