Skip to content

drm/msm: fencification

Rob Clark dri-devel linux-arm-msm 1 version Applied

Status from this message: Applied to drm-misc, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/11reservation: add reservation_object_get_excl_unlocked()include/linux/reservation.h+18 -00 replies
1/11reservation: add reservation_object_get_excl_unlocked()include/linux/reservation.h+18 -03 replies
2/11drm/atomic: export drm_atomic_helper_wait_for_fences()drivers/gpu/drm/drm_atomic_helper.c include/drm/drm_atomic_helper.h+15 -22 replies
3/11drm/msm: move debugfs code to it's own filedrivers/gpu/drm/msm/Makefile drivers/gpu/drm/msm/msm_debugfs.c drivers/gpu/drm/msm/msm_debugfs.h +1 more+196 -1520 replies
4/11drm/msm: move fence code to it's own filedrivers/gpu/drm/msm/Makefile drivers/gpu/drm/msm/msm_atomic.c drivers/gpu/drm/msm/msm_drv.c +5 more+178 -1330 replies
5/11drm/msm: use imported dmabuf's reservation objectdrivers/gpu/drm/msm/msm_drv.h drivers/gpu/drm/msm/msm_gem.c drivers/gpu/drm/msm/msm_gem_prime.c+14 -80 replies
6/11drm/msm: split out timeout_to_jiffies helperdrivers/gpu/drm/msm/msm_drv.h drivers/gpu/drm/msm/msm_fence.c+16 -100 replies
7/11drm/msm/gpu: simplify tracking in-flight bo'sdrivers/gpu/drm/msm/msm_gpu.c+22 -290 replies
8/11drm/msm: split locking and pinning BO'sdrivers/gpu/drm/msm/msm_gem.h drivers/gpu/drm/msm/msm_gem_submit.c+40 -310 replies
9/11drm/msm: introduce msm_fence_contextdrivers/gpu/drm/msm/adreno/adreno_gpu.c drivers/gpu/drm/msm/msm_atomic.c drivers/gpu/drm/msm/msm_drv.c +6 more+108 -640 replies
10/11drm/msm: remove fence_cbsdrivers/gpu/drm/msm/msm_atomic.c drivers/gpu/drm/msm/msm_drv.c drivers/gpu/drm/msm/msm_drv.h +3 more+47 -1070 replies
11/11drm/msm: 'struct fence' conversiondrivers/gpu/drm/msm/adreno/adreno_gpu.c drivers/gpu/drm/msm/msm_atomic.c drivers/gpu/drm/msm/msm_drv.h +7 more+233 -840 replies

Reviews trailers per patch

1 of 12 patches has a Reviewed-by or Acked-by.

PatchGustavo Padovan
1/11
1/11
2/11R-b
3/11
4/11
5/11
6/11
7/11
8/11
9/11
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/11] drm/msm: fencification

A few prep patches, plus drm/msm conversion to 'struct fence' for gpu and display sync. Uses drm_atomic_helper_wait_for_fences() to sync atomic updates with rendering.

This is the first step towards implementing EGL_ANDROID_native_fence_sync. Next step would be to extend submit uapi to use syncpt fd's (and then eventually somehow plumb through atomic ioctl for fully explicit sync).

Rob Clark (11):
reservation: add reservation_object_get_excl_unlocked() drm/atomic: export drm_atomic_helper_wait_for_fences() drm/msm: move debugfs code to it's own file drm/msm: move fence code to it's own file drm/msm: use imported dmabuf's reservation object drm/msm: split out timeout_to_jiffies helper drm/msm/gpu: simplify tracking in-flight bo's drm/msm: split locking and pinning BO's drm/msm: introduce msm_fence_context
drm/msm: remove fence_cbs
drm/msm: 'struct fence' conversion

 drivers/gpu/drm/drm_atomic_helper.c     |  15 +-
 drivers/gpu/drm/msm/Makefile            |   2 +
 drivers/gpu/drm/msm/adreno/adreno_gpu.c |  10 +-
 drivers/gpu/drm/msm/msm_atomic.c        |  47 +++---
 drivers/gpu/drm/msm/msm_debugfs.c       | 168 ++++++++++++++++++++
 drivers/gpu/drm/msm/msm_debugfs.h       |  26 +++
 drivers/gpu/drm/msm/msm_drv.c           | 273 ++------------------------------
 drivers/gpu/drm/msm/msm_drv.h           |  59 +++----
 drivers/gpu/drm/msm/msm_fence.c         | 163 +++++++++++++++++++
 drivers/gpu/drm/msm/msm_fence.h         |  46 ++++++
 drivers/gpu/drm/msm/msm_gem.c           | 132 ++++++++++++---
 drivers/gpu/drm/msm/msm_gem.h           |  18 +--
 drivers/gpu/drm/msm/msm_gem_prime.c     |   2 +-
 drivers/gpu/drm/msm/msm_gem_submit.c    |  91 +++++++----
 drivers/gpu/drm/msm/msm_gpu.c           | 100 ++++++------
 drivers/gpu/drm/msm/msm_gpu.h           |   7 +-
 drivers/gpu/drm/msm/msm_rd.c            |   2 +-
 include/drm/drm_atomic_helper.h         |   2 +
 include/linux/reservation.h             |  18 +++
 19 files changed, 724 insertions(+), 457 deletions(-)
 create mode 100644 drivers/gpu/drm/msm/msm_debugfs.c
 create mode 100644 drivers/gpu/drm/msm/msm_debugfs.h
 create mode 100644 drivers/gpu/drm/msm/msm_fence.c
 create mode 100644 drivers/gpu/drm/msm/msm_fence.h
Signature · 1 line
2.5.0