]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/nouveau/gr/gf100: split gf100_gr_init_ctxctl()
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 13 Dec 2016 08:11:29 +0000 (17:11 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 17 Feb 2017 05:14:31 +0000 (15:14 +1000)
commit0296b5d985a030a99dcf2057b5eac1461637c7ee
tree0c379025f669df3da8618b12e1f5a4d10c69cbb2
parentd2753f40a947229cf2c8075ed93479159c1af1c1
drm/nouveau/gr/gf100: split gf100_gr_init_ctxctl()

gf100_gr_init_ctxctl() is basically two different functions (one for
use of internal firmware, the other for use of external firmware), but
its current layout makes it look more complex than it is. Split it to
better reflect that fact.

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