drm/msm: fencification
Status from this message: Applied to drm-misc, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | reservation: add reservation_object_get_excl_unlocked()include/ | +18 | 0 replies | |
| 1/11 | reservation: add reservation_object_get_excl_unlocked()include/ | +18 | 3 replies | |
| 2/11 | drm/atomic: export drm_atomic_helper_wait_for_fences()drivers/ include/ | +15 | 2 replies | |
| 3/11 | drm/msm: move debugfs code to it's own filedrivers/ drivers/ drivers/ +1 more | +196 | 0 replies | |
| 4/11 | drm/msm: move fence code to it's own filedrivers/ drivers/ drivers/ +5 more | +178 | 0 replies | |
| 5/11 | drm/msm: use imported dmabuf's reservation objectdrivers/ drivers/ drivers/ | +14 | 0 replies | |
| 6/11 | drm/msm: split out timeout_to_jiffies helperdrivers/ drivers/ | +16 | 0 replies | |
| 7/11 | drm/msm/gpu: simplify tracking in-flight bo'sdrivers/ | +22 | 0 replies | |
| 8/11 | drm/msm: split locking and pinning BO'sdrivers/ drivers/ | +40 | 0 replies | |
| 9/11 | drm/msm: introduce msm_fence_contextdrivers/ drivers/ drivers/ +6 more | +108 | 0 replies | |
| 10/11 | drm/msm: remove fence_cbsdrivers/ drivers/ drivers/ +3 more | +47 | 0 replies | |
| 11/11 | drm/msm: 'struct fence' conversiondrivers/ drivers/ drivers/ +7 more | +233 | 0 replies |
Reviews trailers per patch
1 of 12 patches has a Reviewed-by or Acked-by.
| Patch | Gustavo Padovan |
|---|---|
| 1/11 | |
| 1/11 | |
| 2/11 | R-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.
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