[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3a0311c8-2db9-96d0-b241-f94040421397@rock-chips.com>
Date: Fri, 4 Aug 2017 08:56:43 +0800
From: Sandy Huang <sandy.huang@...k-chips.com>
To: Mark Yao <mark.yao@...k-chips.com>,
David Airlie <airlied@...ux.ie>,
Heiko Stuebner <heiko@...ech.de>
Cc: linux-rockchip@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 4/6] drm/rockchip: vop: round_up pitches to word align
在 2017/7/31 17:49, Mark Yao 写道:
> 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@...k-chips.com>
> ---
> drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Reviewed-by: Sandy huang <sandy.huang@...k-chips.com>
Powered by blists - more mailing lists