summaryrefslogtreecommitdiff
path: root/drivers/gpu/nova-core/gsp/cmdq.rs
diff options
context:
space:
mode:
authorAntonin Malzieu Ridolfi <dev@nanonej.com>2026-06-07 14:10:31 +0000
committerDanilo Krummrich <dakr@kernel.org>2026-06-10 21:00:35 +0200
commit3e4bac7b8ca7688fb3aa9c0bf005a5a4256ad578 (patch)
tree8d463cf281d21a745d39f64a78c79e6a989047ff /drivers/gpu/nova-core/gsp/cmdq.rs
parent848bf57e98e1678ce7a49eb4e0bf0502da95dc07 (diff)
downloadlinux-next-3e4bac7b8ca7688fb3aa9c0bf005a5a4256ad578.tar.gz
linux-next-3e4bac7b8ca7688fb3aa9c0bf005a5a4256ad578.zip
gpu: nova-core: gsp: Move gsp register definition into gsp module
Split the gsp register definitions grouped in nova root register file to the gsp module which actually use them. Suggested-by: Alexandre Courbot <acourbot@nvidia.com> Suggested-by: Danilo Krummrich <dakr@kernel.org> Signed-off-by: Antonin Malzieu Ridolfi <dev@nanonej.com> Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Link: https://patch.msgid.link/20260607140949.152575-1-dev@nanonej.com Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'drivers/gpu/nova-core/gsp/cmdq.rs')
-rw-r--r--drivers/gpu/nova-core/gsp/cmdq.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nova-core/gsp/cmdq.rs b/drivers/gpu/nova-core/gsp/cmdq.rs
index 0bc5a95a9cd7..495d07d65c39 100644
--- a/drivers/gpu/nova-core/gsp/cmdq.rs
+++ b/drivers/gpu/nova-core/gsp/cmdq.rs
@@ -51,10 +51,11 @@ use crate::{
GSP_PAGE_SIZE, //
},
num,
- regs,
sbuffer::SBufferIter, //
};
+use super::regs;
+
/// Marker type representing the absence of a reply for a command. Commands using this as their
/// reply type are sent using [`Cmdq::send_command_no_wait`].
pub(crate) struct NoReply;