Skip to content

Preemption support for A6xx targets

Sharat Masetty dri-devel linux-arm-msm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 of 4 patches 3 repliesIn review

3 of 4 patches are in this archive. The cover letter announces 4.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/msm: Add submitqueue setup and closedrivers/gpu/drm/msm/msm_gpu.h drivers/gpu/drm/msm/msm_submitqueue.c+20 -21 reply
2/4drm/msm: Add new PM4 type7 opcodesdrivers/gpu/drm/msm/adreno/adreno_pm4.xml.h+2 -01 reply
4/4drm/msm/A6xx: Enable preemption for A6xx targetsdrivers/gpu/drm/msm/adreno/a6xx_gpu.c+1 -11 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJordan Crouse
SeriesR-b
1/4R-b
2/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] Preemption support for A6xx targets

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

_______________________________________________
Freedreno mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/freedreno