[PATCH 0/2] gpu: nova-core: falcon: use I/O projections for DMA transfers

Alexandre Courbot <[email protected]> Fri, 24 Jul 2026 20:10:48 +0900
Newsgroups dev.linux.lists.nova-gpu,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-kernel,org.kernel.vger.rust-for-linux
Message-ID <[email protected]>
Falcon DMA transfers were using cumbersome handle arithmetic and
explicit bounds checks to ensure a requested transfer is valid. This
series replaces this with an I/O projection which, if successful,
carries the same bounds guarantees and does not require performing
operations on DMA handles.

The first patch removes a redundant check that is covered by the
register's `try_with_...` family of methods.

This patchset is based on top of drm-rust-next.

Signed-off-by: Alexandre Courbot <[email protected]>
---
Alexandre Courbot (2):
      gpu: nova-core: falcon: remove unnecessary check
      gpu: nova-core: falcon: use I/O projection to check transfer bounds

 drivers/gpu/nova-core/falcon.rs | 64 ++++++++++++++++-------------------------
 1 file changed, 24 insertions(+), 40 deletions(-)
---
base-commit: 6dcbb4b1320fa91fee349462a52bb69135f2e45e
change-id: 20260724-falcon-dma-projections-ea9343cfcdae

Best regards,
--  
Alexandre Courbot <[email protected]>