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

Joonyoung Shim jy0922.shim at samsung.com
Mon Dec 12 16:41:48 PST 2011


On 12/13/2011 06:59 AM, Rob Clark wrote:
> On Fri, Dec 9, 2011 at 4:59 AM, Inki Dae<inki.dae at samsung.com>  wrote:
>> From: Joonyoung Shim<jy0922.shim at samsung.com>
>>
>> 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.
>>
> btw, I think I will end up with a similar ioctl.. so thought I'd
> double check for consistency, is zorder interpreted from back to front
> or front to back?  Ie. higher numeric value in front or behind of
> lower numeric value?  Are negative values permitted?

The zpos of exynos plane is just the index of overlay of exynos fimd or
exynos hdmi. 0 zpos means first overlay and 1 zpos means second overlay.
It isn't the priority value but higher zpos will have higher priority
generally.

A negative value -1 is defined to special value. A exynos crtc should
use one overlay and -1 zpos means the overlay that crtc uses.

Thanks.

> BR,
> -R
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
>



More information about the dri-devel mailing list