]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/gr/gp10b: Use gp100_grctx and gp100_gr_zbc
authorThierry Reding <treding@nvidia.com>
Wed, 15 Jan 2020 14:07:56 +0000 (15:07 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 22 Jan 2020 22:56:51 +0000 (08:56 +1000)
commit60718799c16de4b918d03b24904522b3d803a42a
treebe972956b4f495c3ccaaef9ad7e10b0050185b9a
parent039b3e66bdce71c1c2f09053dadb9182fc02ae0f
drm/nouveau/gr/gp10b: Use gp100_grctx and gp100_gr_zbc

gp10b doesn't have all the registers that gp102_gr_zbc wants to access,
which causes IBUS MMIO faults to occur. Avoid this by using the gp100
variants of grctx and gr_zbc.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.h
drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gp10b.c