aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c
diff options
context:
space:
mode:
authorMark yao <[email protected]>2017-07-31 09:49:50 +0000
committerMark Yao <[email protected]>2017-08-04 08:09:41 +0000
commitda709a7b27082421289e264f3491a8f43cd4d2f7 (patch)
tree8df7be0945a6bf80e8967b548fd875cadf09b14f /drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c
parentdrm/rockchip: vop: fix NV12 video display error (diff)
downloadkernel-da709a7b27082421289e264f3491a8f43cd4d2f7.tar.gz
kernel-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 <[email protected]> Reviewed-by: Sandy huang <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c')
0 files changed, 0 insertions, 0 deletions