]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/gr/gk20a: use same initialization sequence as nvgpu
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 23 Jun 2015 06:16:02 +0000 (15:16 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 28 Aug 2015 02:40:02 +0000 (12:40 +1000)
commit509ade3d2169368ea60e1750cadc22a55d725361
tree1901848e59d66899ec8918e5309d3d626c0bc13b
parentff81d573c108d1d3518db9cb3b93a973c9d22cb2
drm/nouveau/gr/gk20a: use same initialization sequence as nvgpu

GK20A's initialization was based on GK104, but differences exist in the
way the initial context is built and the initialization process itself.

This patch follows the same initialization sequence as nvgpu performs
to avoid bad surprises. Since the register bundles initialization also
differ considerably from GK104, the register packs are now loaded from
firmware files, again similarly to what is done with nvgpu.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk20a.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.h
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.h [new file with mode: 0644]