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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Adds RGB666 to the pre-loaded interface pixel maps.

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

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,
 	}, {
-- 
1.7.9.5

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux