]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: vbios: store reference to Device where relevant
authorAlexandre Courbot <acourbot@nvidia.com>
Fri, 8 Aug 2025 02:46:42 +0000 (11:46 +0900)
committerAlexandre Courbot <acourbot@nvidia.com>
Mon, 1 Sep 2025 13:23:21 +0000 (22:23 +0900)
commit93296e9d9528f0d87f2cf3fee494599060a0f14a
tree4cd56e8df1de27d3a3c6b164f3490a1a2d6efeef
parentdff11511d1967b9fd82a5b4b60cf5045eaa545b6
gpu: nova-core: vbios: store reference to Device where relevant

Now that the vbios code uses a non-bound `Device` instance, store an
`ARef` to it at construction time so we can use it for logging without
having to carry an extra argument on every method for that sole purpose.

Reviewed-by: Joel Fernandes <joelagnelf@nvidia.com>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://lore.kernel.org/r/20250808-vbios_device-v1-2-834bbbab6471@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/firmware/fwsec.rs
drivers/gpu/nova-core/vbios.rs