From: Alexandru Dadu <alexandru.dadu@imgtec.com>
To: Alessio Belle <alessio.belle@imgtec.com>,
Luigi Santivetti <luigi.santivetti@imgtec.com>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
Paul Walmsley <pjw@kernel.org>,
"Palmer Dabbelt" <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
"Alexandre Ghiti" <alex@ghiti.fr>, Kees Cook <kees@kernel.org>,
"Gustavo A. R. Silva" <gustavoars@kernel.org>
Cc: <imagination@lists.freedesktop.org>,
<dri-devel@lists.freedesktop.org>, <linux-kernel@vger.kernel.org>,
<linux-riscv@lists.infradead.org>,
<linux-hardening@vger.kernel.org>,
Alexandru Dadu <alexandru.dadu@imgtec.com>,
Matt Coster <opensource@mtcoster.net>
Subject: [PATCH v2 0/6] drm/imagination: Commonize firmware segment loading
Date: Wed, 2 Dec 2026 08:34:41 +0200 [thread overview]
Message-ID: <20261202-b4-commonize-fw-segment-loading-v2-0-45fd5153c040@imgtec.com> (raw)
- 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>
---
Changes in v2:
- Added small updates to target some Sashiko remarks.
- Link to v1: https://patch.msgid.link/20261125-b4-commonize-fw-segment-loading-v1-0-69657fa52ac3@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 | 64 ++--
drivers/gpu/drm/imagination/pvr_device.h | 15 -
drivers/gpu/drm/imagination/pvr_fw.c | 539 +++++++++--------------------
drivers/gpu/drm/imagination/pvr_fw.h | 196 +++++++----
drivers/gpu/drm/imagination/pvr_fw_info.c | 346 ++++++++++++++++++
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, 781 insertions(+), 637 deletions(-)
---
base-commit: c88084027d0e922dd925b96e5a0d184ba04a8f43
change-id: 20261125-b4-commonize-fw-segment-loading-188d87ff5ec7
Best regards,
--
Alexandru Dadu <alexandru.dadu@imgtec.com>
next reply other threads:[~2026-12-02 6:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 6:34 Alexandru Dadu [this message]
2026-12-02 6:34 ` [PATCH v2 1/6] drm/imagination: Remove get_fw_obj_gpu_addr() Alexandru Dadu
2026-12-02 6:34 ` [PATCH v2 2/6] drm/imagination: Fix size of FW header members Alexandru Dadu
2026-12-02 6:34 ` [PATCH v2 3/6] drm/imagination: Save metadata from firmware Alexandru Dadu
2026-12-02 6:34 ` [PATCH v2 4/6] drm/imagination: Release firmware after init Alexandru Dadu
2026-12-02 6:34 ` [PATCH v2 5/6] drm/imagination: Generalize FW segment loading Alexandru Dadu
2026-12-02 6:34 ` [PATCH v2 6/6] drm/imagination: Avoid loop in configure_seg_mmu() Alexandru Dadu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261202-b4-commonize-fw-segment-loading-v2-0-45fd5153c040@imgtec.com \
--to=alexandru.dadu@imgtec.com \
--cc=airlied@gmail.com \
--cc=alessio.belle@imgtec.com \
--cc=alex@ghiti.fr \
--cc=aou@eecs.berkeley.edu \
--cc=dri-devel@lists.freedesktop.org \
--cc=gustavoars@kernel.org \
--cc=imagination@lists.freedesktop.org \
--cc=kees@kernel.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=luigi.santivetti@imgtec.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=opensource@mtcoster.net \
--cc=palmer@dabbelt.com \
--cc=pjw@kernel.org \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®