[PATCH 00/11] drm/msm GPU updates for 4.21

Jordan Crouse jcrouse at codeaurora.org
Wed Oct 17 16:28:07 UTC 2018


This is a refresh of changes for msm-next that don't have dependencies on
outside SoC drivers. The two new features here are the GPU state capture
for a6xx (which has been sent before) and the per-submit statistics + trace
events (which are new). The remaining bits are bug fixes and dependent
patches.

Jordan Crouse (11):
  drm/msm: Update generated headers
  drm/msm/gpu: Allocate the correct size for the GPU memptrs
  drm/msm: Gracefully handle failure in _msm_gem_kernel_new
  drm/msm/gpu: Only store local command buffers in the GPU state
  drm/msm/gpu: Move gpu_poll_timeout() to adreno_gpu.h
  drm/msm/adreno: Don't capture register values if target doesn't define
    them
  drm/msm/a6xx: Add a6xx gpu state
  drm/msm: Add a common function to free kernel buffer objects
  drm/msm/gpu: Add per-submission statistics
  drm/msm/gpu: Add trace events for tracking GPU submissions
  drm/msm/gpu: Don't map command buffers with nr_relocs equal to 0

 drivers/gpu/drm/msm/Makefile                |    4 +-
 drivers/gpu/drm/msm/adreno/a5xx_gpu.c       |   18 +-
 drivers/gpu/drm/msm/adreno/a5xx_power.c     |   13 +-
 drivers/gpu/drm/msm/adreno/a5xx_preempt.c   |   14 +-
 drivers/gpu/drm/msm/adreno/a6xx.xml.h       |   54 +-
 drivers/gpu/drm/msm/adreno/a6xx_gmu.c       |   45 +-
 drivers/gpu/drm/msm/adreno/a6xx_gmu.h       |    3 +
 drivers/gpu/drm/msm/adreno/a6xx_gpu.c       |   80 +-
 drivers/gpu/drm/msm/adreno/a6xx_gpu.h       |    8 +
 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c | 1150 +++++++++++++++++++
 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h |  430 +++++++
 drivers/gpu/drm/msm/adreno/adreno_gpu.c     |   19 +-
 drivers/gpu/drm/msm/adreno/adreno_gpu.h     |    6 +
 drivers/gpu/drm/msm/msm_drv.h               |    2 +
 drivers/gpu/drm/msm/msm_gem.c               |   33 +-
 drivers/gpu/drm/msm/msm_gem.h               |    1 +
 drivers/gpu/drm/msm/msm_gem_submit.c        |   18 +-
 drivers/gpu/drm/msm/msm_gpu.c               |   61 +-
 drivers/gpu/drm/msm/msm_gpu_trace.h         |   90 ++
 drivers/gpu/drm/msm/msm_gpu_tracepoints.c   |    6 +
 drivers/gpu/drm/msm/msm_ringbuffer.c        |    7 +-
 drivers/gpu/drm/msm/msm_ringbuffer.h        |   16 +
 22 files changed, 1929 insertions(+), 149 deletions(-)
 create mode 100644 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
 create mode 100644 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h
 create mode 100644 drivers/gpu/drm/msm/msm_gpu_trace.h
 create mode 100644 drivers/gpu/drm/msm/msm_gpu_tracepoints.c

-- 
2.18.0



More information about the dri-devel mailing list