]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/gr/gf100: load firmware in outer function
authorAlexandre Courbot <acourbot@nvidia.com>
Wed, 24 Feb 2016 05:42:16 +0000 (14:42 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 14 Mar 2016 00:13:20 +0000 (10:13 +1000)
commit653a61c58db82e6242f114f74314ae755d357b46
treebb8bbcd8cc00c0ce4440fdee85a91bdbaa3c6fc6
parentb107d8da8fbef9272a6525e97836e894f903ad65
drm/nouveau/gr/gf100: load firmware in outer function

The firmwares required by GR may vary from chip to chip, especially with
the introduction of secure boot and NVIDIA-provided firmwares. Move the
firmware loading outside of gf100_gr_ctor so other chips may still call
it while managing their firmwares themselves.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c