]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: add NV_PFALCON_FALCON_DMATRFCMD::with_falcon_mem()
authorTimur Tabi <ttabi@nvidia.com>
Thu, 22 Jan 2026 22:28:40 +0000 (16:28 -0600)
committerAlexandre Courbot <acourbot@nvidia.com>
Fri, 23 Jan 2026 23:45:13 +0000 (08:45 +0900)
commitf6507640b0cddfd90d398e3996321b1a735f98be
treed8764cbc0aca1a327cdbcd653d0c406f6f745f2d
parent121ea04cd9f22ae8fb405d4929f6a7faefefe553
gpu: nova-core: add NV_PFALCON_FALCON_DMATRFCMD::with_falcon_mem()

The with_falcon_mem() method initializes the 'imem' and 'sec' fields of
the NV_PFALCON_FALCON_DMATRFCMD register based on the value of
the FalconMem type.

Signed-off-by: Timur Tabi <ttabi@nvidia.com>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patch.msgid.link/20260122222848.2555890-6-ttabi@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/falcon.rs
drivers/gpu/nova-core/regs.rs