diff options
author | Mark yao <mark.yao@rock-chips.com> | 2017-07-31 12:49:50 +0300 |
---|---|---|
committer | Mark Yao <mark.yao@rock-chips.com> | 2017-08-04 11:09:41 +0300 |
commit | da709a7b27082421289e264f3491a8f43cd4d2f7 (patch) | |
tree | 8df7be0945a6bf80e8967b548fd875cadf09b14f /COPYING | |
parent | 0b12e9c0e4d5138289a7a9d875ce655842b60b03 (diff) | |
download | linux-da709a7b27082421289e264f3491a8f43cd4d2f7.tar.xz |
drm/rockchip: vop: round_up pitches to word align
VOP pitch register is word align, need align to word.
VOP_WIN0_VIR:
bit[31:16] win0_vir_stride_uv
Number of words of Win0 uv Virtual width
bit[15:0] win0_vir_width
Number of words of Win0 yrgb Virtual width
ARGB888 : win0_vir_width
RGB888 : (win0_vir_width*3/4) + (win0_vir_width%3)
RGB565 : ceil(win0_vir_width/2)
YUV : ceil(win0_vir_width/4)
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/1501494591-7034-1-git-send-email-mark.yao@rock-chips.com
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions