[media] media: ti-vpe: vpdma: Add helper to set a background color
authorBenoit Parrot <bparrot@ti.com>
Fri, 18 Nov 2016 23:20:13 +0000 (21:20 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 22 Nov 2016 08:27:01 +0000 (06:27 -0200)
commit3f43554c0a3c2a311f484b9131a7b9edf183f6e0
treedc4ea39721570315d10e43571265032cb14b5764
parent2f88703a0bfd1a4e88e1a7cf2542880ef72fdcc0
[media] media: ti-vpe: vpdma: Add helper to set a background color

Add a helper to set the background color during vpdma transfer.
This is needed when VPDMA is generating 32 bits RGB format
to have the Alpha channel set to an appropriate value.

Signed-off-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/ti-vpe/vpdma.c
drivers/media/platform/ti-vpe/vpdma.h