Skip to content

drm/msm: A8xx Support - Batch 2

Akhil P Oommen dri-devel linux-arm-msm lkml 2 versions – In review

Get series with b4
b4 am [email protected] change-id 20260322-a8xx-gpu-batch2-bf7f5a9406ac

Versions newest first

  1. v2 Latest17 patches 27 repliesIn review
  2. v116 patches 32 repliesSuperseded

Changes in v2 from the cover letter

- Split X2-85 SKU detection patch (Rob)
- Split out a7xx_gmu_gx_is_on() (Konrad)
- Avoid secure init on every gmu_resume (Konrad)
- Simplify code in adreno_load_gpu() using guard(mutex) (Konrad)
- Correct the payload size for CP_ME_INIT packet (Konrad)
- Remove unnecessary gmu_wrapper check in a8xx_preempt.c (Konrad)
- Few misc formatting fixes (Konrad/Claude bot)
- Add Fixes tag & reorder patches to move fixes to top (Rob/Dmitry)
- Captured R-b tags
- Link to v1: https://lore.kernel.org/r/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17drm/msm/a6xx: Use barriers while updating HFI Q headersdrivers/gpu/drm/msm/adreno/a6xx_hfi.c+10 -40 replies
2/17drm/msm/a8xx: Fix the ticks used in submit tracesdrivers/gpu/drm/msm/adreno/a4xx_gpu.c drivers/gpu/drm/msm/adreno/a5xx_gpu.c drivers/gpu/drm/msm/adreno/a6xx_gpu.c +5 more+27 -443 replies
3/17drm/msm/a6xx: Switch to preemption safe AO counterdrivers/gpu/drm/msm/adreno/a6xx_gpu.c+7 -73 replies
4/17drm/msm/a6xx: Correct OOB usagedrivers/gpu/drm/msm/adreno/a6xx_gmu.c drivers/gpu/drm/msm/adreno/a6xx_gpu.c drivers/gpu/drm/msm/adreno/a8xx_gpu.c+12 -50 replies
5/17drm/msm/adreno: Implement gx_is_on() for A8xdrivers/gpu/drm/msm/adreno/a6xx_gmu.c drivers/gpu/drm/msm/adreno/a6xx_gmu.h drivers/gpu/drm/msm/adreno/a6xx_gpu.c +2 more+50 -80 replies
6/17drm/msm/a6xx: Fix gpu init from secure worlddrivers/gpu/drm/msm/adreno/a6xx_gmu.c drivers/gpu/drm/msm/adreno/a6xx_gmu.h drivers/gpu/drm/msm/adreno/a6xx_gpu.c+80 -740 replies
7/17drm/msm/a6xx: Add support for Debug HFI Qdrivers/gpu/drm/msm/adreno/a6xx_gmu.h drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c drivers/gpu/drm/msm/adreno/a6xx_hfi.c +1 more+17 -51 reply
8/17drm/msm/adreno: Coredump on GPU/GMU init failuresdrivers/gpu/drm/msm/adreno/a6xx_gmu.c drivers/gpu/drm/msm/adreno/adreno_device.c drivers/gpu/drm/msm/adreno/adreno_gpu.c +2 more+13 -55 replies
9/17drm/msm/a6xx: Use packed structs for HFIdrivers/gpu/drm/msm/adreno/a6xx_hfi.h+20 -200 replies
10/17drm/msm/a6xx: Update HFI definitionsdrivers/gpu/drm/msm/adreno/a6xx_hfi.c drivers/gpu/drm/msm/adreno/a6xx_hfi.h+111 -54 replies
11/17drm/msm/a8xx: Add SKU table for A840drivers/gpu/drm/msm/adreno/a6xx_catalog.c+6 -02 replies
12/17drm/msm/a6xx: Add soft fuse detection supportdrivers/gpu/drm/msm/adreno/a5xx_gpu.c drivers/gpu/drm/msm/adreno/a6xx_gpu.c drivers/gpu/drm/msm/adreno/adreno_gpu.c +2 more+45 -123 replies
13/17drm/msm/a6xx: Add SKU detection support for X2-85drivers/gpu/drm/msm/adreno/a6xx_catalog.c+8 -10 replies
14/17drm/msm/a8xx: Implement IFPC support for A840drivers/gpu/drm/msm/adreno/a6xx_catalog.c drivers/gpu/drm/msm/adreno/a8xx_gpu.c+281 -32 replies
15/17drm/msm/a8xx: Preemption support for A840drivers/gpu/drm/msm/Makefile drivers/gpu/drm/msm/adreno/a6xx_catalog.c drivers/gpu/drm/msm/adreno/a6xx_gpu.c +5 more+389 -803 replies
16/17drm/msm/a6xx: Enable Preemption on X2-85drivers/gpu/drm/msm/adreno/a6xx_catalog.c+42 -00 replies
17/17drm/msm/adreno: Expose a PARAM to check AQE supportdrivers/gpu/drm/msm/adreno/a6xx_gpu.c drivers/gpu/drm/msm/adreno/adreno_gpu.c drivers/gpu/drm/msm/adreno/adreno_gpu.h +1 more+19 -01 reply

Reviews trailers per patch

5 of 17 patches have a Reviewed-by or Acked-by.

PatchKonrad Dybcio
1/17
2/17
3/17
4/17
5/17R-b
6/17
7/17R-b
8/17
9/17R-b
10/17R-b
11/17
12/17
13/17
14/17
15/17
16/17
17/17R-b

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

Read the v2 thread

Cover letter [PATCH v2 00/17] drm/msm: A8xx Support - Batch 2

This series brings a few additional features for A8xx GPUs which were deferred in the initial series. First few patches are a few general fixes and improvements. The next few patches adds support for SKU tables, Preemption, IFPC and a UABI to query AQE support.

---
Changes in v2:
- Split X2-85 SKU detection patch (Rob)
- Split out a7xx_gmu_gx_is_on() (Konrad)
- Avoid secure init on every gmu_resume (Konrad)
- Simplify code in adreno_load_gpu() using guard(mutex) (Konrad)
- Correct the payload size for CP_ME_INIT packet (Konrad)
- Remove unnecessary gmu_wrapper check in a8xx_preempt.c (Konrad)
- Few misc formatting fixes (Konrad/Claude bot)
- Add Fixes tag & reorder patches to move fixes to top (Rob/Dmitry)
- Captured R-b tags
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Akhil P Oommen (17):
drm/msm/a6xx: Use barriers while updating HFI Q headers drm/msm/a8xx: Fix the ticks used in submit traces drm/msm/a6xx: Switch to preemption safe AO counter drm/msm/a6xx: Correct OOB usage drm/msm/adreno: Implement gx_is_on() for A8x drm/msm/a6xx: Fix gpu init from secure world drm/msm/a6xx: Add support for Debug HFI Q drm/msm/adreno: Coredump on GPU/GMU init failures drm/msm/a6xx: Use packed structs for HFI drm/msm/a6xx: Update HFI definitions drm/msm/a8xx: Add SKU table for A840 drm/msm/a6xx: Add soft fuse detection support drm/msm/a6xx: Add SKU detection support for X2-85 drm/msm/a8xx: Implement IFPC support for A840 drm/msm/a8xx: Preemption support for A840 drm/msm/a6xx: Enable Preemption on X2-85 drm/msm/adreno: Expose a PARAM to check AQE support

 drivers/gpu/drm/msm/Makefile                      |   1 +
 drivers/gpu/drm/msm/adreno/a4xx_gpu.c             |   6 +-
 drivers/gpu/drm/msm/adreno/a5xx_gpu.c             |  12 +-
 drivers/gpu/drm/msm/adreno/a6xx_catalog.c         | 243 +++++++++++++++++++-
 drivers/gpu/drm/msm/adreno/a6xx_gmu.c             | 141 ++++++++++--
 drivers/gpu/drm/msm/adreno/a6xx_gmu.h             |   9 +-
 drivers/gpu/drm/msm/adreno/a6xx_gpu.c             | 169 +++++++-------
 drivers/gpu/drm/msm/adreno/a6xx_gpu.h             |   7 +-
 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c       |   6 +-
 drivers/gpu/drm/msm/adreno/a6xx_hfi.c             |  33 ++-
 drivers/gpu/drm/msm/adreno/a6xx_hfi.h             | 155 +++++++++++--
 drivers/gpu/drm/msm/adreno/a6xx_preempt.c         |  77 +------
 drivers/gpu/drm/msm/adreno/a6xx_preempt.h         |  82 +++++++
 drivers/gpu/drm/msm/adreno/a8xx_gpu.c             | 162 ++++++++++++--
 drivers/gpu/drm/msm/adreno/a8xx_preempt.c         | 259 ++++++++++++++++++++++
 drivers/gpu/drm/msm/adreno/adreno_device.c        |   5 +-
 drivers/gpu/drm/msm/adreno/adreno_gpu.c           |  20 +-
 drivers/gpu/drm/msm/adreno/adreno_gpu.h           |   5 +-
 drivers/gpu/drm/msm/msm_gpu.c                     |   5 +-
 drivers/gpu/drm/msm/msm_gpu.h                     |   2 +
 drivers/gpu/drm/msm/registers/adreno/a6xx.xml     |   4 +
 drivers/gpu/drm/msm/registers/adreno/a6xx_gmu.xml |   6 +-
 include/uapi/drm/msm_drm.h                        |   1 +
 23 files changed, 1137 insertions(+), 273 deletions(-)

---
base-commit: 38d568f154c66430920b01edc9c722ec14aa54d7
change-id: 20260322-a8xx-gpu-batch2-bf7f5a9406ac

Best regards,

Signature · 1 line
Akhil P Oommen <[email protected]>