]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/ce/gp10b: Use correct copy engine
authorThierry Reding <treding@nvidia.com>
Mon, 9 Dec 2019 12:00:05 +0000 (13:00 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 15 Jan 2020 00:49:59 +0000 (10:49 +1000)
commitead90bce53d7d8f82d3c60640e6b46d83294f31b
treefb46298a50b70539c2b39cd6fc96a2401d35eff5
parentbb28c0812499ec435ab5990ed9fb3624b41c9aa8
drm/nouveau/ce/gp10b: Use correct copy engine

gp10b uses the new engine enumeration mechanism introduced in the Pascal
architecture. As a result, the copy engine, which used to be at index 2
for prior Tegra GPU instantiations, has now moved to index 0. Fix up the
index and also use the gp100 variant of the copy engine class because on
gp10b the PASCAL_DMA_COPY_B class is not supported.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c