aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorDanilo Krummrich <[email protected]>2025-03-06 22:23:28 +0000
committerDanilo Krummrich <[email protected]>2025-03-09 18:21:08 +0000
commitef476b0dd9ddfdc34a455408651e7c7bd20b4efe (patch)
tree56341a5347f2029b5557cdd7a98d8454d6a78c0b /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentrust: module: add type `LocalModule` (diff)
downloadkernel-ef476b0dd9ddfdc34a455408651e7c7bd20b4efe.tar.gz
kernel-ef476b0dd9ddfdc34a455408651e7c7bd20b4efe.zip
rust: firmware: introduce `firmware::ModInfoBuilder`
The `firmware` field of the `module!` only accepts literal strings, which is due to the fact that it is implemented as a proc macro. Some drivers require a lot of firmware files (such as nova-core) and hence benefit from more flexibility composing firmware path strings. The `firmware::ModInfoBuilder` is a helper component to flexibly compose firmware path strings for the .modinfo section in const context. It is meant to be used in combination with `kernel::module_firmware!`. Co-developed-by: Alice Ryhl <[email protected]> Signed-off-by: Alice Ryhl <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Danilo Krummrich <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions