drm/rockchip: Add BGR formats to VOP
authorTomasz Figa <tfiga@chromium.org>
Mon, 11 May 2015 10:55:39 +0000 (19:55 +0900)
committerMark Yao <mark.yao@rock-chips.com>
Mon, 13 Jul 2015 05:50:46 +0000 (13:50 +0800)
commit85a359f2538882ec2a02f2331ad56a2cae3bb014
treef3ae0632f87ded8345a415ca2fb7b5bc7175859b
parentc5fd936e992dd2829167d2adc63e151675ca6898
drm/rockchip: Add BGR formats to VOP

VOP can support BGR formats in all windows thanks to red/blue swap option
provided in WINx_CTRL0 registers. This patch enables support for
ABGR8888, XBGR8888, BGR888 and BGR565 formats by using this feature.

Signed-off-by: Tomasz Figa <tfiga@chromium.org>
drivers/gpu/drm/rockchip/rockchip_drm_vop.c