drm/rockchip: vop: fix NV12 video display error
authorMark yao <mark.yao@rock-chips.com>
Mon, 31 Jul 2017 09:49:46 +0000 (17:49 +0800)
committerMark Yao <mark.yao@rock-chips.com>
Fri, 4 Aug 2017 07:39:10 +0000 (15:39 +0800)
commit6f04f5925ce763e07cb405d1fbe97a53b6c026a3
tree58efd6bc6002c0c4bc99772db69a16d8f1426a00
parentda6c9bbf418dcb0f8be261f4353400fa959b1e92
drm/rockchip: vop: fix NV12 video display error

fixup the scale calculation formula on the case
src_height == (dst_height/2).

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
Reviewed-by: Sandy huang <sandy.huang@rock-chips.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1501494586-6984-1-git-send-email-mark.yao@rock-chips.com
drivers/gpu/drm/rockchip/rockchip_drm_vop.h