enhancing module info to allow grouping of firmwares
Luis Chamberlain
mcgrof at kernel.org
Wed Mar 15 22:40:28 UTC 2023
On Thu, Mar 16, 2023 at 07:18:11AM +1000, Dave Airlie wrote:
> MODULE_FIRMWARE_GROUP("g1")
> MODULE_FIRMWARE("fwv1.bin")
> MODULE_FIRMWARE("fwv2.bin")
> MODULE_FIRMWARE_GROUP_END("g2")
The way module namespaces were implemented could be used to leverage
something like this, just that you'd use it for firmware tags, not
symbols.
drivers/dma-buf/dma-buf.c:EXPORT_SYMBOL_NS_GPL(dma_buf_export, DMA_BUF);
Just that that would look like something like this, which might be
even nicer:
MODULE_FIRMWARE_GROUP("fwv1.bin", "nvidia/g1");
MODULE_FIRMWARE_GROUP("fwv2.bin", "nvidia/g1");
Luis
More information about the dri-devel
mailing list