]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/core: add SEC2 engine
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 23 Feb 2017 09:41:41 +0000 (18:41 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 7 Mar 2017 07:05:13 +0000 (17:05 +1000)
commita4504ce9dd4f73f16de1a227db57bf2494b1c262
tree3db7e7808baadcfbe10d329a9bfd79bfcd4b008e
parentdc1b04f016fe61db86a03f08aa4e41443c5df8df
drm/nouveau/core: add SEC2 engine

SEC2 is the name given by NVIDIA to the SEC engine post-Fermi (reasons
unknown). Even though it shares the same address range as SEC, its usage
is quite different and this justifies a new engine. Add this engine and
make TOP use it all post-TOP devices should use this implementation and
not the older SEC.

Also quickly add the short gp102 implementation which will be used for
falcon booting purposes.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/include/nvkm/core/device.h
drivers/gpu/drm/nouveau/include/nvkm/engine/sec2.h [new file with mode: 0644]
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
drivers/gpu/drm/nouveau/nvkm/engine/Kbuild
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
drivers/gpu/drm/nouveau/nvkm/engine/device/priv.h
drivers/gpu/drm/nouveau/nvkm/engine/sec2/Kbuild [new file with mode: 0644]
drivers/gpu/drm/nouveau/nvkm/engine/sec2/base.c [new file with mode: 0644]
drivers/gpu/drm/nouveau/nvkm/engine/sec2/gp102.c [new file with mode: 0644]
drivers/gpu/drm/nouveau/nvkm/engine/sec2/priv.h [new file with mode: 0644]
drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c