[PATCH v2 5/5] drm/exynos: Add plane support with fimd

Jesse Barnes jbarnes at virtuousgeek.org
Wed Dec 14 09:26:35 PST 2011


On Wed, 14 Dec 2011 19:00:15 +0900
Joonyoung Shim <jy0922.shim at samsung.com> wrote:

> The exynos fimd supports 5 window overlays. Only one window overlay of
> fimd is used by the crtc, so we need plane feature to use the rest
> window overlays.
> 
> This creates one ioctl exynos specific - DRM_EXYNOS_PLANE_SET_ZPOS, it
> is the ioctl to decide for user to assign which window overlay.
> 
> Signed-off-by: Joonyoung Shim <jy0922.shim at samsung.com>
> Signed-off-by: Inki Dae <inki.dae at samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
> ---
> v2: consider fixed point about src_x/src_y

Looks pretty good; the only thing that jumped out was that you don't
seem to be validating the zpos ioctl parameters for sanity.  Not sure
if there's much to do, but it may be worth checking for a max zpos or
something...

-- 
Jesse Barnes, Intel Open Source Technology Center


More information about the dri-devel mailing list