summaryrefslogtreecommitdiff
path: root/drivers/gpu/nova-core/nova_core.rs
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2025-06-19 22:23:57 +0900
committerDanilo Krummrich <dakr@kernel.org>2025-06-23 19:16:02 +0200
commit9bcc046a929f73358bf23678306b31d927a7e088 (patch)
tree981bc77d24974b2fe48048e70514ebd2e1b73dc7 /drivers/gpu/nova-core/nova_core.rs
parentbbe5db761086e870678697f8920db518a6297a18 (diff)
gpu: nova-core: add DMA object struct
Since we will need to allocate lots of distinct memory chunks to be shared between GPU and CPU, introduce a type dedicated to that. It is a light wrapper around CoherentAllocation. Reviewed-by: Lyude Paul <lyude@redhat.com> Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Link: https://lore.kernel.org/r/20250619-nova-frts-v6-13-ecf41ef99252@nvidia.com Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'drivers/gpu/nova-core/nova_core.rs')
-rw-r--r--drivers/gpu/nova-core/nova_core.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nova-core/nova_core.rs b/drivers/gpu/nova-core/nova_core.rs
index c3fde3e132ea..121fe5c11044 100644
--- a/drivers/gpu/nova-core/nova_core.rs
+++ b/drivers/gpu/nova-core/nova_core.rs
@@ -2,6 +2,7 @@
//! Nova Core GPU Driver
+mod dma;
mod driver;
mod firmware;
mod gfw;