diff options
author | Danny Nold <dannynold@freescale.com> | 2011-08-11 20:07:59 -0500 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2012-07-03 16:54:37 -0400 |
commit | 6b6833594cc9e6d90e222836d7b00d6600b178a0 (patch) | |
tree | 92c00ca26423bdbe106160c401cd6d7e5f542f51 /include/linux/pxp_dma.h | |
parent | 175dc49738d15b5becd3bab005e9c5622cf81739 (diff) |
ENGR00156420 - EPDC/PxP: Add support for color map
- Add support for 8-bit grayscale colormaps to be used
during EPDC update processing
- Add support in PxP for programming of colormaps
Signed-off-by: Danny Nold <dannynold@freescale.com>
Diffstat (limited to 'include/linux/pxp_dma.h')
-rw-r--r-- | include/linux/pxp_dma.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/pxp_dma.h b/include/linux/pxp_dma.h index f78e56003753..867afbe084e7 100644 --- a/include/linux/pxp_dma.h +++ b/include/linux/pxp_dma.h @@ -78,6 +78,7 @@ typedef unsigned char bool; #define PXP_LUT_NONE 0x0 #define PXP_LUT_INVERT 0x1 #define PXP_LUT_BLACK_WHITE 0x2 +#define PXP_LUT_USE_CMAP 0x4 #define NR_PXP_VIRT_CHANNEL 16 @@ -150,6 +151,8 @@ struct pxp_proc_data { /* LUT transformation on Y data */ int lut_transform; + u8 *lut_map; /* 256 entries */ + bool lut_map_updated; /* Map recently changed */ }; struct pxp_config_data { |