Skip to content

drm/msm: use firmware-name to find zap fw

Rob Clark dri-devel linux-arm-msm linux-devicetree lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 5 repliesIn review
  2. v13 patches 8 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/msm: support firmware-name for zap fw (v2)drivers/gpu/drm/msm/adreno/adreno_gpu.c+27 -32 replies
2/4drm/msm: allow zapfw to not be specified in gpulistdrivers/gpu/drm/msm/adreno/adreno_gpu.c+13 -92 replies
3/4dt-bindings: drm/msm/gpu: Document firmware-nameDocumentation/devicetree/bindings/display/msm/gpu.txt+3 -00 replies
4/4arm64: dts: sdm845: move gpu zap nodes to per-device dtsarch/arm64/boot/dts/qcom/sdm845-cheza.dtsi arch/arm64/boot/dts/qcom/sdm845-db845c.dts arch/arm64/boot/dts/qcom/sdm845-mtp.dts +2 more+22 -61 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchBjorn AnderssonJordan Crouse
1/4R-b R-b
2/4R-b R-b
3/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 v2 thread

Cover letter [PATCH v2 0/4] drm/msm: use firmware-name to find zap fw

From: Rob Clark <[email protected]>

For devices which use zap fw to take the GPU out of secure mode on reset, the firmware is likely to be signed with a device specific key. Meaning that we can't have a single filesystem (or /lib/firmware) that works on multiple devices.

So allow a firmware-name to be specified in the zap-shader node in dt. This moves the zap-shader node out of the core sdm845.dtsi and into per- device dts files. Which also removes the need for /delete-node/ in sdm845-cheza.dtsi (as cheza devices do not use zap).

This aligns with how Bjorn has been handling the similar situation with adsp/cdsp/mpss fw:

https://patchwork.kernel.org/patch/11160089/

Rob Clark (4):
drm/msm: support firmware-name for zap fw (v2) drm/msm: allow zapfw to not be specified in gpulist
dt-bindings: drm/msm/gpu: Document firmware-name
arm64: dts: sdm845: move gpu zap nodes to per-device dts

 .../devicetree/bindings/display/msm/gpu.txt   |  3 ++
 arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi    |  1 -
 arch/arm64/boot/dts/qcom/sdm845-db845c.dts    |  7 +++
 arch/arm64/boot/dts/qcom/sdm845-mtp.dts       |  7 +++
 arch/arm64/boot/dts/qcom/sdm845.dtsi          |  6 +--
 .../boot/dts/qcom/sdm850-lenovo-yoga-c630.dts |  7 +++
 drivers/gpu/drm/msm/adreno/adreno_gpu.c       | 50 +++++++++++++++----
 7 files changed, 64 insertions(+), 17 deletions(-)
Signature · 6 lines
2.24.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel