mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/6] drm/imagination: Commonize firmware segment loading
@ 2026-11-25 11:48 Alexandru Dadu
  2026-11-25 11:48 ` [PATCH 1/6] drm/imagination: Remove get_fw_obj_gpu_addr() Alexandru Dadu
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Alexandru Dadu @ 2026-11-25 11:48 UTC (permalink / raw)
  To: Alessio Belle, Luigi Santivetti, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, David Airlie, Simona Vetter,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Kees Cook, Gustavo A. R. Silva
  Cc: imagination, dri-devel, linux-kernel, linux-riscv,
	linux-hardening, Alexandru Dadu, Matt Coster

- Clean up and refactor the PowerVR firmware-loading path.
- Remove duplications in segment-loading logic and removes the firmware 
  blob after processing.
- Save firmware metadata at runtime in a kernel-internal format.
- Fix the sizes of firmware header fields.
- Remove duplicate GPU-address helper function.
- Implement a direct lookup when configureing the segment MMU.

Signed-off-by: Alexandru Dadu <alexandru.dadu@imgtec.com>
---
Alessio Belle (1):
      drm/imagination: Avoid loop in configure_seg_mmu()

Matt Coster (5):
      drm/imagination: Remove get_fw_obj_gpu_addr()
      drm/imagination: Fix size of FW header members
      drm/imagination: Save metadata from firmware
      drm/imagination: Release firmware after init
      drm/imagination: Generalize FW segment loading

 drivers/gpu/drm/imagination/Makefile       |   1 +
 drivers/gpu/drm/imagination/pvr_device.c   |  61 ++--
 drivers/gpu/drm/imagination/pvr_device.h   |  15 -
 drivers/gpu/drm/imagination/pvr_fw.c       | 534 ++++++++---------------------
 drivers/gpu/drm/imagination/pvr_fw.h       | 196 +++++++----
 drivers/gpu/drm/imagination/pvr_fw_info.c  | 339 ++++++++++++++++++
 drivers/gpu/drm/imagination/pvr_fw_info.h  |  22 +-
 drivers/gpu/drm/imagination/pvr_fw_meta.c  | 124 +++----
 drivers/gpu/drm/imagination/pvr_fw_mips.c  |  50 +--
 drivers/gpu/drm/imagination/pvr_fw_riscv.c |  44 ++-
 drivers/gpu/drm/imagination/pvr_fw_util.c  |  17 +-
 11 files changed, 766 insertions(+), 637 deletions(-)
---
base-commit: c88084027d0e922dd925b96e5a0d184ba04a8f43
change-id: 20261125-b4-commonize-fw-segment-loading-188d87ff5ec7

Best regards,
--  
Alexandru Dadu <alexandru.dadu@imgtec.com>


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

end of thread, other threads:[~2026-11-25 11:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-25 11:48 [PATCH 0/6] drm/imagination: Commonize firmware segment loading Alexandru Dadu
2026-11-25 11:48 ` [PATCH 1/6] drm/imagination: Remove get_fw_obj_gpu_addr() Alexandru Dadu
2026-11-25 11:48 ` [PATCH 2/6] drm/imagination: Fix size of FW header members Alexandru Dadu
2026-11-25 11:48 ` [PATCH 3/6] drm/imagination: Save metadata from firmware Alexandru Dadu
2026-11-25 11:48 ` [PATCH 4/6] drm/imagination: Release firmware after init Alexandru Dadu
2026-11-25 11:48 ` [PATCH 5/6] drm/imagination: Generalize FW segment loading Alexandru Dadu
2026-11-25 11:48 ` [PATCH 6/6] drm/imagination: Avoid loop in configure_seg_mmu() Alexandru Dadu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®