Skip to content

drm/msm/mdp5: Cursor plane stuff

Archit Taneja dri-devel linux-arm-msm 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 0 repliesNew
  2. v19 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- Dropped generated headers patch.
- Add the fast path patch in the end as suggested by Maarten.
- Minor cleanups.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8drm/msm/mdp5: cfg: Add pipe_cursor blockdrivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h+1 -00 replies
2/8drm/msm/mdp5: Prepare CRTC/LM for empty stagesdrivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c drivers/gpu/drm/msm/mdp/mdp5/mdp5_ctl.c drivers/gpu/drm/msm/mdp/mdp5/mdp5_ctl.h +1 more+6 -60 replies
3/8drm/msm/mdp5: Use plane helpers to configure src/dst rectanglesdrivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c drivers/gpu/drm/msm/msm_atomic.c+59 -190 replies
4/8drm/msm/mdp5: Configure COLOR3_OUT propagationdrivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c+30 -00 replies
5/8drm/msm/mdp5: Misc cursor plane bitsdrivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.c drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c drivers/gpu/drm/msm/mdp/mdp5/mdp5_ctl.c +5 more+75 -130 replies
6/8drm/msm/mdp5: Add cursor planesdrivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c drivers/gpu/drm/msm/msm_atomic.c+26 -120 replies
7/8drm/msm/mdp5: Refactor mdp5_plane_atomic_checkdrivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c+20 -120 replies
8/8HACK: drm/msm/mdp5: Add support for legacy cursor updatesdrivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.h drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c+115 -30 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/8] drm/msm/mdp5: Cursor plane stuff

This series does some mdp5_plane related clean ups (use plane helpers for clipping etc), adds MDP5 bits needed for cursor plane blocks, and then add cursor planes.

On older MDP5 versions, we had cursor HW in Layer Mixer blocks, and that's implemented in mdp5_crtc.c. With newer hardware, the cursor blocks look exactly like MDP5 pipes (SSPPs).

The "faster than vblank cursor position update stuff" has been copied from vc4 and the patches posted recently by Maarten for Intel:

https://patchwork.kernel.org/patch/9466417/

Changes in v2:
- Dropped generated headers patch.
- Add the fast path patch in the end as suggested by Maarten.
- Minor cleanups.

Archit Taneja (8):
drm/msm/mdp5: cfg: Add pipe_cursor block drm/msm/mdp5: Prepare CRTC/LM for empty stages drm/msm/mdp5: Use plane helpers to configure src/dst rectangles drm/msm/mdp5: Configure COLOR3_OUT propagation drm/msm/mdp5: Misc cursor plane bits
drm/msm/mdp5: Add cursor planes
drm/msm/mdp5: Refactor mdp5_plane_atomic_check
HACK: drm/msm/mdp5: Add support for legacy cursor updates

 drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.c   |  10 ++
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h   |   1 +
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c  |  73 +++++++++++-
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_ctl.c   |  14 ++-
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_ctl.h   |   4 +-
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c   |  39 +++++--
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.h   |   8 +-
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_pipe.c  |   8 ++
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c | 181 +++++++++++++++++++++++++++---
 drivers/gpu/drm/msm/mdp/mdp_kms.h         |   1 +
 drivers/gpu/drm/msm/msm_atomic.c          |  26 +++--
 11 files changed, 316 insertions(+), 49 deletions(-)
Signature · 7 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation

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