Use hardware sprite plane as overlay

Jasper St. Pierre jstpierre at mecheye.net
Thu Dec 31 14:04:54 PST 2015


You can't. The only client that is allowed to do modesets, either on
planes or on the primary buffer, is the DRM master, which in this case
is the Xorg server. It would be much easier and better to use Wayland
instead.

On Thu, Dec 31, 2015 at 12:16 AM, Cao Duc Quan <caoducquan at gmail.com> wrote:
> Thanks Jasper.
> I plan to hook to QT embedded to make it use sprite plane buffer.
> I could make a tool (customized from modetest.c of libdrm) to render to
> sprite plane which are running in xorg.
>
> Thanks and Happy New Year.
> cdq
>
> On Wed, Dec 30, 2015 at 2:52 AM, Jasper St. Pierre <jstpierre at mecheye.net>
> wrote:
>>
>> The only currently supported mechanism for using hardware overlays is
>> video planes through VDPAU / VA-API.
>>
>> Xorg does not have any other supported mechanism for using hardware
>> overlays. Try looking at Wayland, which can have support for hardware
>> planes.
>>
>> On Fri, Dec 25, 2015 at 8:29 AM, Cao Duc Quan <caoducquan at gmail.com>
>> wrote:
>> > Dear all,
>> > I am studying the Graphics stack in linux.
>> > I found that the Intel Baytrail E38xx support 2 pipe display and each
>> > pipe
>> > has
>> > - 1 x primary plane
>> > - 2 x sprite plane
>> > - 1 x cursor plane
>> >
>> > Is it possible to use sprite plane as overlay plane which means we can
>> > render UI to sprite plane (for example QT could render Widget to sprite
>> > plane) ? If so, could any one point me to some a sample code or any
>> > documents ?
>> >
>> > Many Thanks,
>> > --
>> > Quan Cao
>> > 0976574864
>> >
>> > _______________________________________________
>> > xorg-devel at lists.x.org: X.Org development
>> > Archives: http://lists.x.org/archives/xorg-devel
>> > Info: http://lists.x.org/mailman/listinfo/xorg-devel
>>
>>
>>
>> --
>>   Jasper
>
>
>
>
> --
> Quan Cao
> 0976574864



-- 
  Jasper


More information about the xorg-devel mailing list