[PATCH 0/3] rcar-du: Enable fences support using atomic commit helper

Laurent Pinchart laurent.pinchart+renesas at ideasonboard.com
Sun Feb 12 12:32:26 UTC 2017


Hello,

This patch series enables fences support in the rcar-du driver through
switching to the atomic commit helper.

Patches 1/3 and 2/3 prepare the driver to handle CRTC events the way expected
by the atomic commit helper. Patch 3/3 then replaces the custom atomic commit
handler with the atomic commit helper, using a custom commit tail handler to
support the driver-specific CRTC enable/disable and plane commit order.

Patch 3/3 depends on the "[PATCH] drm: Constify drm_mode_config atomic helper
private pointer" (merged in drm-misc) for proper compilation, and on
"[PATCH v3 0/7] drm/atomic: Add accessor macros for all atomic state" (posted
to the dri-devel mailing list) for proper runtime operation of asynchronous
commits.

Laurent Pinchart (3):
  drm: rcar-du: Handle event when disabling CRTCs
  drm: rcar-du: Clear handled event pointer in CRTC state
  drm: rcar-du: Use DRM core's atomic commit helper

 drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 13 +++--
 drivers/gpu/drm/rcar-du/rcar_du_kms.c  | 99 ++++------------------------------
 2 files changed, 19 insertions(+), 93 deletions(-)

-- 
Regards,

Laurent Pinchart



More information about the dri-devel mailing list