drm/rockchip: vop: fix window origin calculation
authorDominik Behr <dbehr@chromium.org>
Tue, 10 Nov 2015 09:59:10 +0000 (17:59 +0800)
committerMark Yao <mark.yao@rock-chips.com>
Wed, 2 Dec 2015 01:13:18 +0000 (09:13 +0800)
commit72906ce0301fc8a2cbfa52632191b0ba719699b5
tree06a16372ff1a0b1a82e758d31855ec582b2387a5
parenta8594f20cafadb6ba58f915dea5f2c94a9333b1a
drm/rockchip: vop: fix window origin calculation

VOP_WINx_DSP_ST does not require subtracting 1 from the values written to
it. It actually causes the screen to be shifted by one pixel.

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
Tested-by: Yakir Yang <ykk@rock-chips.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Dominik Behr <dbehr@chromium.org>
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
drivers/gpu/drm/rockchip/rockchip_drm_vop.c