]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: DISPC: Configure color conversion coefficients for writeback
authorArchit Taneja <archit@ti.com>
Tue, 11 Sep 2012 06:34:47 +0000 (12:04 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 26 Sep 2012 11:58:51 +0000 (14:58 +0300)
commit88ac2966fb542cf1463238530b6a89b3546f6c4e
treee09e075957c7e9b8299e57883d50eb3cff6ee3b2
parenta9162647519e4e32e588effcff42198e77e66014
OMAPDSS: DISPC: Configure color conversion coefficients for writeback

Writeback pipeline receives RGB data from one of the overlays or one of the
overlay managers. If the target color mode is YUV422 or NV12, we need to convert
the RGB pixels to YUV. The scaler in WB then converts it to the target color
mode.

Hence, the color conversion coefficients that need to be programmed are the ones
which convert a RGB24 pixel to YUV444. Program these coefficients for writeback
pipeline.

Rearrange the code a bit to configure different coefficients for overlays and
writeback.

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/dss/dispc.c