drm/nouveau/gk20a: Add MODULE_FIRMWARE for gk20a
authorNicolas Chauvet <kwizart@gmail.com>
Mon, 28 Sep 2015 15:08:13 +0000 (17:08 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 11 Jan 2016 01:17:40 +0000 (11:17 +1000)
commit5a9e822f8098e6aa7a8305627ca5dd09d87ef846
treed454b3858e3e2bc5301c2c5e1626936b22cc79a9
parentda4ee13cd5755a347f16e80e0a8583478c3fef5b
drm/nouveau/gk20a: Add MODULE_FIRMWARE for gk20a

This patch is needed by initramfs tools to detect
the required firmware files for the module.

This patch tests for either TEGRA_124_SOC or TEGRA_132_SOC
for the firmwares related to the Tegra K1 generation.

v2: move the MODULE_FIRMWARE to the nvidia_platform.c file.
 This will avoid to test for NOUVEAU_PLATFORM_DRIVER

Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_platform.c