[PATCH 0/9] drm/tyr: add VM and BO ioctl support
From: Ke Sun via B4 Relay
Date: Tue Sep 01 2026 - 13:24:17 EST
Add the VM and BO ioctls to the Tyr driver, aligning its userspace
interface with panthor. The series is based on Danilo's `drm-file`
series on `drm-rust-next`, and uses the existing IdPool and xarray
abstractions for per-file VM management.
The panthor IGT tests pass on an RK3588S device.
Signed-off-by: Ke Sun <sunke@xxxxxxxxxx>
---
Alvin Sun (9):
rust: sizes: add SZ_4G constant
rust: mm: add `task_size` helper
rust: sync: arc: relax `ForeignOwnable` for `Arc<T>`
drm/tyr: add per-file VM pool
drm/tyr: add user and MCU VM specifications
drm/tyr: add BO creation and lookup helpers
drm/tyr: refactor new_dummy_object to use new_object
drm/tyr: add VM-related ioctls
drm/tyr: add BO-related ioctls
drivers/gpu/drm/tyr/driver.rs | 14 +-
drivers/gpu/drm/tyr/file.rs | 394 ++++++++++++++++++++++++++++++++++++++--
drivers/gpu/drm/tyr/fw.rs | 8 +-
drivers/gpu/drm/tyr/gem.rs | 41 ++++-
drivers/gpu/drm/tyr/pool.rs | 102 +++++++++++
drivers/gpu/drm/tyr/tyr.rs | 1 +
drivers/gpu/drm/tyr/vm.rs | 158 +++++++++++++++-
rust/bindings/bindings_helper.h | 1 +
rust/kernel/mm.rs | 7 +
rust/kernel/sizes.rs | 12 ++
rust/kernel/sync/arc.rs | 12 +-
11 files changed, 714 insertions(+), 36 deletions(-)
---
base-commit: 0b0aa9dcf17b6cffa9e325ff641e843b20d40c31
change-id: 20260901-tyr-ioctls-f10ef0dcbfa6
Best regards,
--
Ke Sun <sunke@xxxxxxxxxx>