Skip to content

drm/fsl-dcu: add overlay and cursor plane support

Stefan Agner dri-devel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/fsl-dcu: support overlay and cursor planesdrivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.h+60 -270 replies
2/4drm/fsl-dcu: respect pos/size register sizesdrivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.h+4 -40 replies
3/4drm/fsl-dcu: update all registers on flushdrivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c+3 -51 reply
4/4drm/fsl-dcu: do not update when modifying irq registersdrivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c+0 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] drm/fsl-dcu: add overlay and cursor plane support

This patchset adds overlay and cursor plane support. It also fixes some issues uncovered during implementation of this.

However, the plane updates currently causes the display to flicker for unknown reasons. As far as I can tell, the CRTC atomic_flush should trigger the update correctly via READREG, which according to documentation:
The READREG bit causes a single transfer to begin at the next frame blanking period. This bit is cleared when the transfer is complete.

I made a video how that looks:
https://cloud.agner.ch/index.php/s/Yfqa2u7UBEWUT8N

Any ideas?

Stefan Agner (4):
drm/fsl-dcu: support overlay and cursor planes drm/fsl-dcu: respect pos/size register sizes drm/fsl-dcu: update all registers on flush drm/fsl-dcu: do not update when modifying irq registers

 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c  | 50 ++++++++++++++++++++++++-----
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c   |  4 ---
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.h   |  8 ++---
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c | 42 +++++++++++-------------
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.h |  3 +-
 5 files changed, 67 insertions(+), 40 deletions(-)
Signature · 6 lines
2.9.3

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel