[Freedreno] [PATCH v2 0/9] drm/msm for 4.15

Jordan Crouse jcrouse at codeaurora.org
Wed Oct 11 15:14:15 UTC 2017


Here are the refreshed submitqueue/ringbuffer/preemption changes for 4.15.
These are the original changes with bug fixes, improvements and suggestions
squashed in:
 
 - Moved SUBMITQUEUE_CLOSE param to a u32 instead of reusing the struct
 - Changed to use per-ring fence contexts
 - Squashed in Rob's change to the driver version
 - Squshed in fix for preemption race condition

These apply against drm-msm-next-2017-08-22 from ~robclark/linux.

*** BLURB HERE ***

Jordan Crouse (9):
  drm/msm: Add per-instance submit queues
  drm/msm: Move memptrs to msm_gpu
  drm/msm: Support multiple ringbuffers
  drm/msm: Add a parameter query for the number of ringbuffers
  drm/msm: Shadow current pointer in the ring until command is complete
  drm/msm: Make the value of RB_CNTL (almost) generic
  drm/msm: Implement preemption for A5XX targets
  drm/msm: Removed unused struct_mutex_task
  drm/msm: dump a rd GPUADDR header for all buffers in the command

 drivers/gpu/drm/msm/Makefile              |   4 +-
 drivers/gpu/drm/msm/adreno/a3xx_gpu.c     |  10 +-
 drivers/gpu/drm/msm/adreno/a4xx_gpu.c     |  10 +-
 drivers/gpu/drm/msm/adreno/a5xx_gpu.c     | 222 +++++++++++++++++++---
 drivers/gpu/drm/msm/adreno/a5xx_gpu.h     | 109 ++++++++++-
 drivers/gpu/drm/msm/adreno/a5xx_power.c   |   6 +-
 drivers/gpu/drm/msm/adreno/a5xx_preempt.c | 305 ++++++++++++++++++++++++++++++
 drivers/gpu/drm/msm/adreno/adreno_gpu.c   | 183 +++++++++---------
 drivers/gpu/drm/msm/adreno/adreno_gpu.h   |  43 ++---
 drivers/gpu/drm/msm/msm_drv.c             |  71 ++++++-
 drivers/gpu/drm/msm/msm_drv.h             |  28 +--
 drivers/gpu/drm/msm/msm_fence.c           |   2 +-
 drivers/gpu/drm/msm/msm_fence.h           |   2 +-
 drivers/gpu/drm/msm/msm_gem.h             |   5 +-
 drivers/gpu/drm/msm/msm_gem_submit.c      |  26 ++-
 drivers/gpu/drm/msm/msm_gpu.c             | 174 ++++++++++++-----
 drivers/gpu/drm/msm/msm_gpu.h             |  51 +++--
 drivers/gpu/drm/msm/msm_rd.c              |  30 +--
 drivers/gpu/drm/msm/msm_ringbuffer.c      |  37 +++-
 drivers/gpu/drm/msm/msm_ringbuffer.h      |  33 +++-
 drivers/gpu/drm/msm/msm_submitqueue.c     | 152 +++++++++++++++
 include/uapi/drm/msm_drm.h                |  24 +++
 22 files changed, 1249 insertions(+), 278 deletions(-)
 create mode 100644 drivers/gpu/drm/msm/adreno/a5xx_preempt.c
 create mode 100644 drivers/gpu/drm/msm/msm_submitqueue.c

-- 
1.9.1



More information about the Freedreno mailing list