linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] drm/msm: use firmware-name to find zap fw
@ 2020-01-08  1:38 Rob Clark
  2020-01-08  1:38 ` [PATCH 1/3] drm/msm: support firmware-name for " Rob Clark
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Rob Clark @ 2020-01-08  1:38 UTC (permalink / raw)
  To: dri-devel
  Cc: devicetree, freedreno, linux-arm-msm, Bjorn Andersson,
	Jordan Crouse, Sharat Masetty, Rob Clark, Brian Masney,
	Douglas Anderson, Fabio Estevam, Jeffrey Hugo, open list,
	Thomas Gleixner

From: Rob Clark <robdclark@chromium.org>

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 (3):
  drm/msm: support firmware-name for zap fw
  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       |  8 +++++
 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       | 32 +++++++++++++++++--
 7 files changed, 55 insertions(+), 9 deletions(-)

-- 
2.24.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-01-12 19:36 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-08  1:38 [PATCH 0/3] drm/msm: use firmware-name to find zap fw Rob Clark
2020-01-08  1:38 ` [PATCH 1/3] drm/msm: support firmware-name for " Rob Clark
2020-01-08  5:00   ` Bjorn Andersson
2020-01-08 15:38   ` Tom Rix
2020-01-08 16:30     ` Rob Clark
2020-01-12 19:36       ` Rob Clark
2020-01-08 18:48   ` Jordan Crouse
2020-01-08 19:04     ` Bjorn Andersson
2020-01-08  1:38 ` [PATCH 2/3] dt-bindings: drm/msm/gpu: Document firmware-name Rob Clark
2020-01-08  4:57   ` Bjorn Andersson
2020-01-08  1:38 ` [PATCH 3/3] arm64: dts: sdm845: move gpu zap nodes to per-device dts Rob Clark
2020-01-08  4:57   ` Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).