drm/rockchip: vop: fixup linebuffer mode calc error
authorSandy Huang <hjc@rock-chips.com>
Tue, 26 Jun 2018 08:16:44 +0000 (16:16 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 27 Jun 2018 12:07:40 +0000 (14:07 +0200)
commit106359177a57c7ea4a0c31e9cd24e6313b355ed7
tree75e186a0a12353496ef1ef9eef69155f1768a47c
parenta3e77e1655961f4ed7ad4eea8763aed418bd932e
drm/rockchip: vop: fixup linebuffer mode calc error

linebuffer mode should be LB_YUV_3840X5 when width is bigger than 1280
in yuv mode.

Separate yuv and rgb case makes the scl_vop_cal_lb_mode() logic clearer.

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/1530001004-25036-1-git-send-email-hjc@rock-chips.com
drivers/gpu/drm/rockchip/rockchip_drm_vop.h