From: Gustavo Padovan <gustavo.padovan@xxxxxxxxxxxxx> Hi, First version of Asynchronous Plane Update over Atomic. Here I looked to msm, vc4 and i915 to identify a common pattern to create atomic helpers for async updates. So in patch 1 drm_atomic_async_check() and drm_atomic_helper_async_commit() are introduced along with driver's plane hooks: ->atomic_async_check() and ->atomic_async_commit(). For now we only support async update for one plane at a time and there can't be any update for that plane in the current pending commit. Also the async update can't modify the CRTC so no modesets are allowed. Then the other patches add support for it in the drivers. I did virtio mostly for testing. i915 have been converted and I've been using the it for four days already without any problem. I tried to run i-g-t on it but as of now drm-misc-next is failing a bit already. I'll get back to this for v2. vc4 and msm are only build tested. TODO - async updates when an update for the same plane is already queued - improve i-g-t tests where needed - support async page flips (that can be done after uptreaming this part) Comments are welcome! Regards, Gustavo --- Gustavo Padovan (7): drm/atomic: initial support for asynchronous plane update drm/virtio: support async cursor updates drm/i915: update cursors asynchronously through atomic drm/i915: remove intel_cursor_plane_funcs drm/msm: update cursors asynchronously through atomic drm/msm: remove mdp5_cursor_plane_funcs drm/vc4: update cursors asynchronously through atomic drivers/gpu/drm/drm_atomic.c | 75 ++++++++++++++ drivers/gpu/drm/drm_atomic_helper.c | 41 ++++++++ drivers/gpu/drm/i915/intel_atomic_plane.c | 58 +++++++++++ drivers/gpu/drm/i915/intel_display.c | 158 ++++------------------------ drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c | 165 ++++++++++-------------------- drivers/gpu/drm/vc4/vc4_plane.c | 94 +++++------------ drivers/gpu/drm/virtio/virtgpu_plane.c | 42 ++++++++ include/drm/drm_atomic.h | 4 + include/drm/drm_atomic_helper.h | 2 + include/drm/drm_modeset_helper_vtables.h | 47 +++++++++ 10 files changed, 373 insertions(+), 313 deletions(-) -- 2.9.3 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel