]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: firmware: gsp: use dma::Coherent for level0 table
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 26 Mar 2026 15:22:13 +0000 (00:22 +0900)
committerAlexandre Courbot <acourbot@nvidia.com>
Sat, 28 Mar 2026 13:20:08 +0000 (22:20 +0900)
commite10dcb9d654177270b48119fa79f3924aef9ff48
tree4e8caf56d6041dbf97b8f0c89db44452f569ab86
parent371db8bcb925bfb0ac68db2f66aeaa0350ac1d06
gpu: nova-core: firmware: gsp: use dma::Coherent for level0 table

Replace the nova-core local `DmaObject` with a `CoherentBox` that can
fulfill the same role.

Since `CoherentBox` is more flexible than `DmaObject`, we can use the
native `u64` type for page table entries instead of messing with bytes.

The `dma` module becomes unused with that change, so remove it as well.

Reviewed-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patch.msgid.link/20260327-b4-nova-dma-removal-v2-7-616e1d0b5cb3@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/dma.rs [deleted file]
drivers/gpu/nova-core/firmware/gsp.rs
drivers/gpu/nova-core/nova_core.rs