[Wayland-bugs] [Bug 83888] New: Use nuclear page flip / atomic mode setting

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 15 06:29:19 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=83888

          Priority: medium
            Bug ID: 83888
          Assignee: wayland-bugs at lists.freedesktop.org
           Summary: Use nuclear page flip / atomic mode setting
          Severity: enhancement
    Classification: Unclassified
                OS: Linux (All)
          Reporter: ppaalanen at gmail.com
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: weston
           Product: Wayland

Implement support for universal planes and atomic mode setting / nuclear page
flip in Weston's DRM backend. This would finally make hardware overlays work
properly, and they could be enabled by default.

There is some work already done:
http://cgit.collabora.com/git/user/pq/weston.git/log/?h=next
contains lots of patches from the branching point up to the tip on implementing
and fixing the support.

Outdated work is at:
http://cgit.collabora.com/git/user/pq/weston.git/log/?h=nuclear-on-1.5

The first thing is to extract all relevant patches from 'next', squash as
appropriate, and rebase on Weston master.

Then the usage of the DRM atomic API needs to be rewritten: we need to use the
test flag during assign_planes() to check what the kernel driver can handle, so
that when the kernel says no, we automatically fall back to GL compositing
rather than just fail to display.

Note, that this feature depends on the atomic commit API which is not in any
libdrm release yet, and likely not yet in master either. I think we could still
upstream this and put it behind a configure switch, so that kernel developers
working on atomic/nuclear will have a complex and real test case at hand.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20140915/aae58f1c/attachment.html>


More information about the wayland-bugs mailing list