From: Deborah Brouwer <deborah.brouwer@collabora.com>
To: dri-devel@lists.freedesktop.org, rust-for-linux@vger.kernel.org
Cc: daniel.almeida@collabora.com, aliceryhl@google.com,
boris.brezillon@collabora.com, beata.michalska@arm.com,
lyude@redhat.com, work@onurozkan.dev,
Deborah Brouwer <deborah.brouwer@collabora.com>
Subject: [PATCH v2 0/12] drm/tyr: firmware loading and MCU boot support
Date: Mon, 2 Mar 2026 15:24:48 -0800 [thread overview]
Message-ID: <20260302232500.244489-1-deborah.brouwer@collabora.com> (raw)
This series adds firmware loading and MCU boot support to the Tyr DRM
driver. It includes:
- A parser for the Mali CSF firmware binary format
- A kernel-managed BO type (KernelBo) for internal driver allocations
- GPU virtual memory (VM) integration using drm_gpuvm
- An MMU module and a generic slot manager
- Shmem-backed GEM support for Tyr
- Loading firmware, VM activation, and MCU boot at probe()
Dependencies:
- [PATCH v7 0/7] Rust bindings for gem shmem + iosys_map
https://lore.kernel.org/rust-for-linux/20260206223431.693765-1-lyude@redhat.com/
- [PATCH v4 0/6] Rust GPUVM immediate mode
https://lore.kernel.org/rust-for-linux/20260130-gpuvm-rust-v4-0-8364d104ff40@google.com/
- [PATCH v5 0/4] Introduce DeviceContext
https://lore.kernel.org/rust-for-linux/20260131001602.2095470-1-lyude@redhat.com/
Other Prerequisites:
This series also depends on additional prerequisite fixes not included in
this posting. The full stack (base + prerequisites + this series) is
available here:
https://gitlab.freedesktop.org/dbrouwer/linux/-/tree/dbrouwer/fw-boot
Development history / discussion:
https://gitlab.freedesktop.org/panfrost/linux/-/merge_requests/56
---
Changes in v2:
- The whole series is rebased on drm-rust-next including v7.0-rc1.
- Each patch has its own changelog.
Link to v1: https://lore.kernel.org/rust-for-linux/20260212013713.304343-1-deborah.brouwer@collabora.com/
---
Beata Michalska (1):
drm/tyr: set DMA mask using GPU physical address
Boris Brezillon (5):
drm/tyr: select DRM abstractions in Kconfig
drm/tyr: rename TyrObject to BoData
drm/tyr: Add generic slot manager
drm/tyr: add MMU module
drm/tyr: add GPU virtual memory module
Daniel Almeida (2):
drm/tyr: add MMU address space registers
drm/tyr: add parser for firmware binary
Deborah Brouwer (4):
drm/tyr: move clock cleanup into Clocks Drop impl
drm/tyr: add shmem backing for GEM objects
drm/tyr: add a kernel buffer object
drm/tyr: add firmware loading and MCU boot support
drivers/gpu/drm/tyr/Kconfig | 15 +-
drivers/gpu/drm/tyr/driver.rs | 53 +-
drivers/gpu/drm/tyr/fw.rs | 270 ++++++++
drivers/gpu/drm/tyr/fw/parser.rs | 519 +++++++++++++++
drivers/gpu/drm/tyr/gem.rs | 154 ++++-
drivers/gpu/drm/tyr/gpu.rs | 2 -
drivers/gpu/drm/tyr/mmu.rs | 122 ++++
drivers/gpu/drm/tyr/mmu/address_space.rs | 493 ++++++++++++++
drivers/gpu/drm/tyr/regs.rs | 101 ++-
drivers/gpu/drm/tyr/slot.rs | 436 +++++++++++++
drivers/gpu/drm/tyr/tyr.rs | 4 +
drivers/gpu/drm/tyr/vm.rs | 794 +++++++++++++++++++++++
12 files changed, 2933 insertions(+), 30 deletions(-)
create mode 100644 drivers/gpu/drm/tyr/fw.rs
create mode 100644 drivers/gpu/drm/tyr/fw/parser.rs
create mode 100644 drivers/gpu/drm/tyr/mmu.rs
create mode 100644 drivers/gpu/drm/tyr/mmu/address_space.rs
create mode 100644 drivers/gpu/drm/tyr/slot.rs
create mode 100644 drivers/gpu/drm/tyr/vm.rs
--
2.52.0
next reply other threads:[~2026-03-02 23:25 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-02 23:24 Deborah Brouwer [this message]
2026-03-02 23:24 ` [PATCH v2 01/12] drm/tyr: select DRM abstractions in Kconfig Deborah Brouwer
2026-03-03 2:48 ` Claude review: " Claude Code Review Bot
2026-03-02 23:24 ` [PATCH v2 02/12] drm/tyr: move clock cleanup into Clocks Drop impl Deborah Brouwer
2026-03-03 2:48 ` Claude review: " Claude Code Review Bot
2026-03-02 23:24 ` [PATCH v2 03/12] drm/tyr: rename TyrObject to BoData Deborah Brouwer
2026-03-03 2:48 ` Claude review: " Claude Code Review Bot
2026-03-02 23:24 ` [PATCH v2 04/12] drm/tyr: set DMA mask using GPU physical address Deborah Brouwer
2026-03-03 2:48 ` Claude review: " Claude Code Review Bot
2026-03-02 23:24 ` [PATCH v2 05/12] drm/tyr: add MMU address space registers Deborah Brouwer
2026-03-03 2:48 ` Claude review: " Claude Code Review Bot
2026-03-02 23:24 ` [PATCH v2 06/12] drm/tyr: add shmem backing for GEM objects Deborah Brouwer
2026-03-03 2:48 ` Claude review: " Claude Code Review Bot
2026-03-02 23:24 ` [PATCH v2 07/12] drm/tyr: Add generic slot manager Deborah Brouwer
2026-03-03 2:48 ` Claude review: " Claude Code Review Bot
2026-03-02 23:24 ` [PATCH v2 08/12] drm/tyr: add MMU module Deborah Brouwer
2026-03-03 2:48 ` Claude review: " Claude Code Review Bot
2026-03-02 23:24 ` [PATCH v2 09/12] drm/tyr: add GPU virtual memory module Deborah Brouwer
2026-03-03 2:48 ` Claude review: " Claude Code Review Bot
2026-03-02 23:24 ` [PATCH v2 10/12] drm/tyr: add a kernel buffer object Deborah Brouwer
2026-03-03 2:48 ` Claude review: " Claude Code Review Bot
2026-03-02 23:24 ` [PATCH v2 11/12] drm/tyr: add parser for firmware binary Deborah Brouwer
2026-03-03 2:48 ` Claude review: " Claude Code Review Bot
2026-03-02 23:25 ` [PATCH v2 12/12] drm/tyr: add firmware loading and MCU boot support Deborah Brouwer
2026-03-03 2:48 ` Claude review: " Claude Code Review Bot
2026-03-03 2:48 ` Claude review: drm/tyr: " Claude Code Review Bot
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=20260302232500.244489-1-deborah.brouwer@collabora.com \
--to=deborah.brouwer@collabora.com \
--cc=aliceryhl@google.com \
--cc=beata.michalska@arm.com \
--cc=boris.brezillon@collabora.com \
--cc=daniel.almeida@collabora.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=lyude@redhat.com \
--cc=rust-for-linux@vger.kernel.org \
--cc=work@onurozkan.dev \
/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