aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
diff options
context:
space:
mode:
authorMark yao <mark.yao@rock-chips.com>2017-07-31 17:49:50 +0800
committerMark Yao <mark.yao@rock-chips.com>2017-08-04 16:09:41 +0800
commitda709a7b27082421289e264f3491a8f43cd4d2f7 (patch)
tree8df7be0945a6bf80e8967b548fd875cadf09b14f /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
parentdrm/rockchip: vop: fix NV12 video display error (diff)
downloadlinux-da709a7b27082421289e264f3491a8f43cd4d2f7.tar.gz
linux-da709a7b27082421289e264f3491a8f43cd4d2f7.zip
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
0 files changed, 0 insertions, 0 deletions