All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] omapdrm: fences and zpos
@ 2017-04-15  9:16 Laurent Pinchart
  2017-04-15  9:16 ` [PATCH v2 1/5] drm: omapdrm: Handle events when enabling/disabling CRTCs Laurent Pinchart
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: Laurent Pinchart @ 2017-04-15  9:16 UTC (permalink / raw)
  To: dri-devel; +Cc: Tomi Valkeinen

Hello,

This patch series contains two completely unrelated features that just happen
to have been developed one right after the other.

Patches 1/5 to 3/5 implement explicit fences support. The first patch fixes
event handling in the omapdrm driver as required by the atomic commit helper
(and the DRM atomic update API). The second patch replace the hand-rolled
atomic commit handler with the DRM core atomic commit helper, bringing fences
support as a bonus. The third patch then removes the omapdrm custom sync
support that has no user in the mainline kernel.

Patches 4/5 and 5/5 clean up zpos handling by switching to the standard zpos
property implemented in the DRM core. The omapdrm-specific zorder property is
kept for backward compatibility as an alias and should be removed later after
a long enough grace period for userspace to be updated.

Compared to v1, the patches have been rebased on top of Dave's drm-next branch
which now contains all the dependencies.

On the testing side, I've ran kmstest --flip for 250 frames in a loop for half
an hour, with and without CPU load (with 'stress -c 4'), on both PandaBoard
and AM572x EVM, and couldn't reproduce any of the issues reported against v1.

As fence support is implemented completely inside the atomic commit helper I
have only tested it lightly using the sw-sync driver. No issue has been
noticed.

Laurent Pinchart (5):
  drm: omapdrm: Handle events when enabling/disabling CRTCs
  drm: omapdrm: Use DRM core's atomic commit helper
  drm: omapdrm: Remove legacy buffer synchronization support
  drm: omapdrm: Store the Z order in the plane state zpos field
  drm: omapdrm: Add zpos property

 drivers/gpu/drm/omapdrm/omap_crtc.c  |  30 +++--
 drivers/gpu/drm/omapdrm/omap_drv.c   | 162 ++++----------------------
 drivers/gpu/drm/omapdrm/omap_drv.h   |  14 +--
 drivers/gpu/drm/omapdrm/omap_gem.c   | 214 -----------------------------------
 drivers/gpu/drm/omapdrm/omap_plane.c |  74 ++----------
 include/uapi/drm/omap_drm.h          |   4 +-
 6 files changed, 55 insertions(+), 443 deletions(-)

-- 
Regards,

Laurent Pinchart

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2017-04-27 10:45 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-15  9:16 [PATCH v2 0/5] omapdrm: fences and zpos Laurent Pinchart
2017-04-15  9:16 ` [PATCH v2 1/5] drm: omapdrm: Handle events when enabling/disabling CRTCs Laurent Pinchart
2017-04-24  9:59   ` Tomi Valkeinen
2017-04-15  9:16 ` [PATCH v2 2/5] drm: omapdrm: Use DRM core's atomic commit helper Laurent Pinchart
2017-04-27 10:45   ` Tomi Valkeinen
2017-04-15  9:16 ` [PATCH v2 3/5] drm: omapdrm: Remove legacy buffer synchronization support Laurent Pinchart
2017-04-18  6:20   ` Daniel Vetter
2017-04-18  8:59     ` Laurent Pinchart
2017-04-15  9:16 ` [PATCH v2 4/5] drm: omapdrm: Store the Z order in the plane state zpos field Laurent Pinchart
2017-04-24  9:40   ` Tomi Valkeinen
2017-04-24 14:00     ` Laurent Pinchart
2017-04-25  9:01       ` Tomi Valkeinen
2017-04-15  9:16 ` [PATCH v2 5/5] drm: omapdrm: Add zpos property Laurent Pinchart
2017-04-24  9:37   ` Tomi Valkeinen
2017-04-24 14:00     ` Laurent Pinchart
2017-04-24 14:05       ` Laurent Pinchart
2017-04-25  8:56         ` Tomi Valkeinen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.