[Freedreno] [PATCH 0/4] Preemption support for A6xx targets

Sharat Masetty smasetty at codeaurora.org
Mon Feb 26 07:38:19 UTC 2018


This patch follows Jordan's recent "drm/msm: Add A6XX device support"
patch series and adds preemption support. Preemption allows the GPU to switch
to a higher priority ringbuffer when one is ready, thereby improving user
experience. A6xx hardware supports various preemption levels, each with
different granularities and different switch-out--switch-in times. While this
patch only enables the first preemption level i.e. preemption at the ringbuffer
level, support for more finer grained preemption levels will follow after
more testing.


Sharat Masetty (4):
  drm/msm: Add submitqueue setup and close
  drm/msm: Add new PM4 type7 opcodes
  drm/msm/A6xx: Implement preemption for A6XX targets
  drm/msm/A6xx: Enable preemption for A6xx targets

 drivers/gpu/drm/msm/Makefile                |   1 +
 drivers/gpu/drm/msm/adreno/a6xx_gmu.c       |  44 ++++
 drivers/gpu/drm/msm/adreno/a6xx_gpu.c       | 148 ++++++++++-
 drivers/gpu/drm/msm/adreno/a6xx_gpu.h       | 136 ++++++++++
 drivers/gpu/drm/msm/adreno/a6xx_preempt.c   | 383 ++++++++++++++++++++++++++++
 drivers/gpu/drm/msm/adreno/adreno_pm4.xml.h |   2 +
 drivers/gpu/drm/msm/msm_gpu.h               |   7 +
 drivers/gpu/drm/msm/msm_submitqueue.c       |  15 +-
 8 files changed, 731 insertions(+), 5 deletions(-)
 create mode 100644 drivers/gpu/drm/msm/adreno/a6xx_preempt.c

--
1.9.1



More information about the Freedreno mailing list