[PATCH v3 0/6] omapdrm: fences and zpos

Laurent Pinchart laurent.pinchart at ideasonboard.com
Mon May 8 22:27:08 UTC 2017


Hello,

This patch series is the third version of the omapdrm fences and zpos support.
It contains two completely unrelated features that just happen to have been
developed one right after the other.

Patches 1/6 to 3/6 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/6 to 6/6 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 v2, patch "drm: omapdrm: Store the Z order in the plane state zpos
field" has been split in two, with the removal of the omapdrm plane state
moved to "drm: omapdrm: Remove custom plane state" for easier revert in BSP
kernels if needed. See individual patches for more information about other
minor changes.

Laurent Pinchart (6):
  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: Remove custom plane state
  drm: omapdrm: Add zpos property

 drivers/gpu/drm/omapdrm/omap_crtc.c  |  30 +++--
 drivers/gpu/drm/omapdrm/omap_drv.c   | 169 ++++-----------------------
 drivers/gpu/drm/omapdrm/omap_drv.h   |  14 +--
 drivers/gpu/drm/omapdrm/omap_gem.c   | 214 -----------------------------------
 drivers/gpu/drm/omapdrm/omap_plane.c |  75 ++----------
 include/uapi/drm/omap_drm.h          |   4 +-
 6 files changed, 58 insertions(+), 448 deletions(-)

-- 
Regards,

Laurent Pinchart



More information about the dri-devel mailing list