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 08:09:39 +0000 (16:09 +0800)
commit0b12e9c0e4d5138289a7a9d875ce655842b60b03
treed3303c2734100681bfcd7bbcfdd843df7e922d12
parent64d77564692aa863340e7d6bec868ec4549121f8
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