diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2025-05-07 22:52:31 +0900 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2025-05-13 14:15:42 +0200 |
commit | a2a637ffdf8692e9a376383ca82a990036424fe0 (patch) | |
tree | f332c31752aa241436bfd97c31b684486e26b9c3 /scripts/gdb/linux/proc.py | |
parent | 44dda4353b9bd5dcc9cc30d97c0c3cfb00d8f987 (diff) |
gpu: nova-core: take bound device in Gpu::new
We will need to perform things like allocating DMA memory during device
creation, so make sure to take the device context that will allow us to
perform these actions. This also allows us to use Devres::access to
obtain the BAR without holding a RCU lock.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://lore.kernel.org/r/20250507-nova-frts-v3-4-fcb02749754d@nvidia.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions