[PATCH 0/6] drm/imagination: Commonize firmware segment loading

Alexandru Dadu alexandru.dadu at imgtec.com
Wed Nov 25 03:48:28 PST 2026


- 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 at 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 at imgtec.com>




More information about the linux-riscv mailing list