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)
commit90e2e96ea37745ae18a1ff7b322e3321731828e4
treebe972956b4f495c3ccaaef9ad7e10b0050185b9a
parent89b34254bb61d0ad5c701413572cf3d993c9bff8
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