summaryrefslogtreecommitdiff
path: root/include/linux/pxp_dma.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/pxp_dma.h')
-rw-r--r--include/linux/pxp_dma.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/pxp_dma.h b/include/linux/pxp_dma.h
index 91553970f22a..867afbe084e7 100644
--- a/include/linux/pxp_dma.h
+++ b/include/linux/pxp_dma.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright (C) 2010-2011 Freescale Semiconductor, Inc. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -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 {