diff options
author | Mark yao <mark.yao@rock-chips.com> | 2017-07-31 17:49:50 +0800 |
---|---|---|
committer | Mark Yao <mark.yao@rock-chips.com> | 2017-08-04 15:39:20 +0800 |
commit | 79a0b149d4e3d45fc46673f4b29a157776c174e2 (patch) | |
tree | 9bbe45c7b37ca6455e5f2002fc4586af5dbdab49 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 6f04f5925ce763e07cb405d1fbe97a53b6c026a3 (diff) |
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 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions