]> Gentwo Git Trees - linux/.git/commit
gpu: nova-core: firmware: move firmware request code into a function
authorAlexandre Courbot <acourbot@nvidia.com>
Sat, 13 Sep 2025 14:12:17 +0000 (23:12 +0900)
committerAlexandre Courbot <acourbot@nvidia.com>
Sat, 13 Sep 2025 14:17:28 +0000 (23:17 +0900)
commitebe658732c6325aa3f4063726af00c0d12449d3c
tree26db573ae70ef04c629de28011edda10b67d6e0c
parentb345c917d7c1e3841d286560afca476ab7caff74
gpu: nova-core: firmware: move firmware request code into a function

When all the firmware files are loaded from `Firmware::new`, it makes
sense to have the firmware request code as a closure. However, since we
eventually want each individual firmware constructor to request its own
file (and get rid of `Firmware` altogether), move this code into a
dedicated function that can be called by individual firmware types.

Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://lore.kernel.org/r/20250913-nova_firmware-v6-4-9007079548b0@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/firmware.rs