OSDN Git Service

drm/tegra: Set MODULE_FIRMWARE for the VIC
authorNicolas Chauvet <kwizart@gmail.com>
Tue, 11 Jul 2017 08:39:04 +0000 (10:39 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 17 Aug 2017 15:57:09 +0000 (17:57 +0200)
commit788ff4b6cfd90fcd9608beccec9c5ed1ff8c4041
tree51dcff5183047db832420c41510effdf527a1fc8
parent2d0f986559a28c16bb59e6c49f4bce36d14548b8
drm/tegra: Set MODULE_FIRMWARE for the VIC

The defines are set anyway to prevent an empty string. The test for the
SoC is the same as for Nouveau for the Tegra GPU firmware (see
drivers/gpu/drm/nouveau/nouveau_platform.c)

v2:
 - Place the defines above each chip's vic_config struct
 - MODULE_FIRMWARE() at the end of the file

Fixes: 0ae797a8ba05 ("drm/tegra: Add VIC support")
Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/vic.c