mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v4 0/5] drm/imagination: RISC-V and META firmware interface updates
@ 2026-11-03  9:00 Alexandru Dadu
  2026-11-03  9:00 ` [PATCH v4 1/5] drm/imagination: Prepare heap config header for multi-arch support Alexandru Dadu
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Alexandru Dadu @ 2026-11-03  9:00 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
  Cc: imagination, dri-devel, linux-riscv, linux-kernel,
	Alexandru Dadu, Matt Coster

Refactor RISC-V and META firmware interface headers to have a more
generic and architecture independent approach:
1. Limits access to the RISC-V and META firmware respective interfaces.
2. Aligns RISC-V and META firmware headers with the other processor
headers.
3. Add "_fw_" component to the headers filename.

Signed-off-by: Alexandru Dadu <alexandru.dadu@imgtec.com>
---
Changes in v4:
- Fixed a bug introduced by the previous update to layout_is_mars().
- Link to v3: https://patch.msgid.link/20261103-prep-meta-fw-arch-independent-v3-0-563dbaf1b779@imgtec.com

Changes in v3:
- Fixed remarks raised by Sashiko in pvr_fw_startstop.c.
- Link to v2: https://patch.msgid.link/20261029-prep-meta-fw-arch-independent-v2-0-b9f5d69b7a52@imgtec.com

Changes in v2:
- Update the commit messages to better describe the changes.
- Link to v1: https://patch.msgid.link/20261028-prep-meta-fw-arch-independent-v1-0-73e116f02172@imgtec.com

To: Alessio Belle <alessio.belle@imgtec.com>
To: Luigi Santivetti <luigi.santivetti@imgtec.com>
To: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
To: Maxime Ripard <mripard@kernel.org>
To: Thomas Zimmermann <tzimmermann@suse.de>
To: David Airlie <airlied@gmail.com>
To: Simona Vetter <simona@ffwll.ch>
To: Paul Walmsley <pjw@kernel.org>
To: Palmer Dabbelt <palmer@dabbelt.com>
To: Albert Ou <aou@eecs.berkeley.edu>
To: Alexandre Ghiti <alex@ghiti.fr>
Cc: imagination@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-riscv@lists.infradead.org

---
Alessio Belle (4):
      drm/imagination: Limit access to the RISC-V firmware interface
      drm/imagination: Make the RISC-V firmware header arch-independent
      drm/imagination: Limit access to the META firmware interface
      drm/imagination: Make the META firmware header arch-independent

Alexandru Dadu (1):
      drm/imagination: Prepare heap config header for multi-arch support

 drivers/gpu/drm/imagination/pvr_fw.c               |   7 +-
 drivers/gpu/drm/imagination/pvr_fw.h               |  26 +++
 drivers/gpu/drm/imagination/pvr_fw_meta.c          | 104 +++++++-----
 drivers/gpu/drm/imagination/pvr_fw_meta.h          |  14 --
 .../{pvr_rogue_meta.h => pvr_fw_meta_internal.h}   | 175 +++++++++++----------
 drivers/gpu/drm/imagination/pvr_fw_mips.c          |   1 +
 drivers/gpu/drm/imagination/pvr_fw_riscv.c         |  13 +-
 .../gpu/drm/imagination/pvr_fw_riscv_internal.h    |  43 +++++
 drivers/gpu/drm/imagination/pvr_fw_startstop.c     |  61 +++----
 drivers/gpu/drm/imagination/pvr_gem.h              |   3 +-
 .../{pvr_rogue_heap_config.h => pvr_heap_config.h} |  26 +--
 drivers/gpu/drm/imagination/pvr_rogue_riscv.h      |  39 -----
 drivers/gpu/drm/imagination/pvr_vm.c               |  18 +--
 13 files changed, 289 insertions(+), 241 deletions(-)
---
base-commit: 6e375de99d0c420169481fcd36064177ab55b09d
change-id: 20261028-prep-meta-fw-arch-independent-ffd6dcd626d0

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


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

end of thread, other threads:[~2026-11-06  9:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03  9:00 [PATCH v4 0/5] drm/imagination: RISC-V and META firmware interface updates Alexandru Dadu
2026-11-03  9:00 ` [PATCH v4 1/5] drm/imagination: Prepare heap config header for multi-arch support Alexandru Dadu
2026-11-06  9:26   ` Alessio Belle
2026-11-03  9:00 ` [PATCH v4 2/5] drm/imagination: Limit access to the RISC-V firmware interface Alexandru Dadu
2026-11-03  9:00 ` [PATCH v4 3/5] drm/imagination: Make the RISC-V firmware header arch-independent Alexandru Dadu
2026-11-03  9:00 ` [PATCH v4 4/5] drm/imagination: Limit access to the META firmware interface Alexandru Dadu
2026-11-03  9:00 ` [PATCH v4 5/5] drm/imagination: Make the META firmware header arch-independent 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®