drm/nouveau/gr/gk20a: move MODULE_FIRMWARE firmware definitions
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
d2bcfce7f8
commit
fb172f5fe8
@ -95,14 +95,3 @@ struct platform_driver nouveau_platform_driver = {
|
||||
.probe = nouveau_platform_probe,
|
||||
.remove = nouveau_platform_remove,
|
||||
};
|
||||
|
||||
#if IS_ENABLED(CONFIG_ARCH_TEGRA_124_SOC) || IS_ENABLED(CONFIG_ARCH_TEGRA_132_SOC)
|
||||
MODULE_FIRMWARE("nvidia/gk20a/fecs_data.bin");
|
||||
MODULE_FIRMWARE("nvidia/gk20a/fecs_inst.bin");
|
||||
MODULE_FIRMWARE("nvidia/gk20a/gpccs_data.bin");
|
||||
MODULE_FIRMWARE("nvidia/gk20a/gpccs_inst.bin");
|
||||
MODULE_FIRMWARE("nvidia/gk20a/sw_bundle_init.bin");
|
||||
MODULE_FIRMWARE("nvidia/gk20a/sw_ctx.bin");
|
||||
MODULE_FIRMWARE("nvidia/gk20a/sw_method_init.bin");
|
||||
MODULE_FIRMWARE("nvidia/gk20a/sw_nonctx.bin");
|
||||
#endif
|
||||
|
@ -319,6 +319,17 @@ gk20a_gr_load_sw(struct gf100_gr *gr, const char *path, int ver)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if IS_ENABLED(CONFIG_ARCH_TEGRA_124_SOC) || IS_ENABLED(CONFIG_ARCH_TEGRA_132_SOC)
|
||||
MODULE_FIRMWARE("nvidia/gk20a/fecs_data.bin");
|
||||
MODULE_FIRMWARE("nvidia/gk20a/fecs_inst.bin");
|
||||
MODULE_FIRMWARE("nvidia/gk20a/gpccs_data.bin");
|
||||
MODULE_FIRMWARE("nvidia/gk20a/gpccs_inst.bin");
|
||||
MODULE_FIRMWARE("nvidia/gk20a/sw_bundle_init.bin");
|
||||
MODULE_FIRMWARE("nvidia/gk20a/sw_ctx.bin");
|
||||
MODULE_FIRMWARE("nvidia/gk20a/sw_method_init.bin");
|
||||
MODULE_FIRMWARE("nvidia/gk20a/sw_nonctx.bin");
|
||||
#endif
|
||||
|
||||
static int
|
||||
gk20a_gr_load(struct gf100_gr *gr, int ver, const struct gf100_gr_fwif *fwif)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user