drm/msm: Hook up the DRM gpu scheduler
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | drm/msm: Track GPU fences with idrdrivers/ drivers/ drivers/ +6 more | +53 | 2 replies | |
| 2/13 | drm/msm: Change msm_gpu_submit() APIdrivers/ drivers/ drivers/ +1 more | +11 | 1 reply | |
| 3/13 | drm/msm: Save the ring name in the ring structuredrivers/ drivers/ | +3 | 1 reply | |
| 4/13 | drm/msm: Change the name of the fence to hw_fencedrivers/ drivers/ drivers/ | +17 | 0 replies | |
| 5/13 | drm/msm: rearrange submit buffer objects clean updrivers/ drivers/ | +18 | 0 replies | |
| 6/13 | drm/msm: Use kzalloc for submit struct allocationdrivers/ | +1 | 2 replies | |
| 7/13 | drm/msm: Fix leak in submitqueue createdrivers/ | +3 | 0 replies | |
| 8/13 | drm/scheduler: set sched->thread to NULL in failuredrivers/ | +4 | 0 replies | |
| 9/13 | drm/msm: Use the DRM common Schedulerdrivers/ drivers/ drivers/ +10 more | +507 | 2 replies | |
| 10/13 | msm/drm: Remove unused codedrivers/ drivers/ drivers/ +3 more | +0 | 0 replies | |
| 11/13 | drm/scheduler: Add a timeout_start_notify function opdrivers/ include/ | +19 | 0 replies | |
| 12/13 | jiffies: add utility function to calculate delta in msinclude/ | +5 | 0 replies | |
| 13/13 | drm/msm: Implement better timeout detectiondrivers/ drivers/ drivers/ +1 more | +76 | 0 replies |
Reviews trailers per patch
2 of 13 patches have a Reviewed-by or Acked-by.
| Patch | Jordan Crouse | Eric Dumazet | Simon Horman |
|---|---|---|---|
| 1/13 | |||
| 2/13 | |||
| 3/13 | |||
| 4/13 | |||
| 5/13 | |||
| 6/13 | |||
| 7/13 | R-b | ||
| 8/13 | |||
| 9/13 | |||
| 10/13 | |||
| 11/13 | |||
| 12/13 | R-b | A-b | |
| 13/13 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 00/13] drm/msm: Hook up the DRM gpu scheduler
This series is an effort to have the msm drm driver start using the DRM gpu scheduler for its general job scheduling needs. Immediate benefits to the msm drm driver include async fencing and improved driver performance.
Testing is still under progress, but general GPU submissions, preemption, timeout, fault recovery and slumber all work fine with these changes when tested using my test apps. My workspace is based on ~4.18.rc6, so these changes should apply on tip relatively easily.
Please review and share your valuable feedback :-).
Note that I backported a change from Linus's 4.19.rc1 tree to handle jiffie wrapping. If it's not desirable, I will squash the last few changes of the series under drm/msm into one single commit.
Matteo Croce (1):
jiffies: add utility function to calculate delta in ms
Sharat Masetty (12):
drm/msm: Track GPU fences with idr
drm/msm: Change msm_gpu_submit() API drm/msm: Save the ring name in the ring structure drm/msm: Change the name of the fence to hw_fence drm/msm: rearrange submit buffer objects clean up drm/msm: Use kzalloc for submit struct allocation drm/msm: Fix leak in submitqueue create drm/scheduler: set sched->thread to NULL in failure drm/msm: Use the DRM common Scheduler msm/drm: Remove unused code
drm/scheduler: Add a timeout_start_notify function op drm/msm: Implement better timeout detection
drivers/gpu/drm/msm/Kconfig | 1 + drivers/gpu/drm/msm/Makefile | 3 +- drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 3 - drivers/gpu/drm/msm/adreno/a5xx_preempt.c | 29 +++ drivers/gpu/drm/msm/adreno/adreno_gpu.c | 3 + drivers/gpu/drm/msm/msm_drv.c | 3 +- drivers/gpu/drm/msm/msm_drv.h | 5 +- drivers/gpu/drm/msm/msm_fence.c | 52 ++--- drivers/gpu/drm/msm/msm_fence.h | 5 +- drivers/gpu/drm/msm/msm_gem.c | 44 +--- drivers/gpu/drm/msm/msm_gem.h | 10 +- drivers/gpu/drm/msm/msm_gem_submit.c | 170 +++++++++----- drivers/gpu/drm/msm/msm_gpu.c | 264 ++++------------------ drivers/gpu/drm/msm/msm_gpu.h | 11 +- drivers/gpu/drm/msm/msm_ringbuffer.c | 17 +- drivers/gpu/drm/msm/msm_ringbuffer.h | 7 + drivers/gpu/drm/msm/msm_sched.c | 355 ++++++++++++++++++++++++++++++ drivers/gpu/drm/msm/msm_sched.h | 18 ++ drivers/gpu/drm/msm/msm_submitqueue.c | 16 +- drivers/gpu/drm/scheduler/gpu_scheduler.c | 22 +- include/drm/gpu_scheduler.h | 6 + include/linux/jiffies.h | 5 + 22 files changed, 662 insertions(+), 387 deletions(-) create mode 100644 drivers/gpu/drm/msm/msm_sched.c create mode 100644 drivers/gpu/drm/msm/msm_sched.h
--
1.9.1
_______________________________________________
Freedreno mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/freedreno