diff mbox

[32/72] gpu: ipu-v3: Add RGB666 interface pixel map

Message ID 1414796095-10107-33-git-send-email-steve_longerbeam@mentor.com (mailing list archive)
State New, archived
Headers show

Commit Message

Steve Longerbeam Oct. 31, 2014, 10:54 p.m. UTC
Adds RGB666 to the pre-loaded interface pixel maps.

Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com>
---
 drivers/gpu/ipu-v3/ipu-dc.c |    4 ++++
 1 file changed, 4 insertions(+)
diff mbox

Patch

diff --git a/drivers/gpu/ipu-v3/ipu-dc.c b/drivers/gpu/ipu-v3/ipu-dc.c
index 23b6e2c..955adab 100644
--- a/drivers/gpu/ipu-v3/ipu-dc.c
+++ b/drivers/gpu/ipu-v3/ipu-dc.c
@@ -102,6 +102,10 @@  static struct ipu_dc_if_map predef_maps[] = {
 		.v4l2_fmt = v4l2_fourcc('G', 'B', 'R', '3'),
 	}, {
 		.src_mask = {0xfc, 0xfc, 0xfc},
+		.dest_msb = {5, 11, 17},
+		.v4l2_fmt = v4l2_fourcc('R', 'G', 'B', 'H'),
+	}, {
+		.src_mask = {0xfc, 0xfc, 0xfc},
 		.dest_msb = {17, 11, 5},
 		.v4l2_fmt = V4L2_PIX_FMT_BGR666,
 	}, {