aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvkm/engine/gr/gp10b.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2020-01-15 15:07:56 +0100
committerBen Skeggs <bskeggs@redhat.com>2020-01-23 08:56:51 +1000
commit90e2e96ea37745ae18a1ff7b322e3321731828e4 (patch)
treebe972956b4f495c3ccaaef9ad7e10b0050185b9a /drivers/gpu/drm/nouveau/nvkm/engine/gr/gp10b.c
parentdrm/nouveau/pmu/gm20b,gp10b: Fix Falcon bootstrapping (diff)
downloadlinux-dev-90e2e96ea37745ae18a1ff7b322e3321731828e4.tar.xz
linux-dev-90e2e96ea37745ae18a1ff7b322e3321731828e4.zip
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>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine/gr/gp10b.c')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/engine/gr/gp10b.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/gr/gp10b.c b/drivers/gpu/drm/nouveau/nvkm/engine/gr/gp10b.c
index a3db2a95ff9a..eaf913eb5aa3 100644
--- a/drivers/gpu/drm/nouveau/nvkm/engine/gr/gp10b.c
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/gr/gp10b.c
@@ -60,8 +60,8 @@ gp10b_gr = {
.gpc_nr = 1,
.tpc_nr = 2,
.ppc_nr = 1,
- .grctx = &gp102_grctx,
- .zbc = &gp102_gr_zbc,
+ .grctx = &gp100_grctx,
+ .zbc = &gp100_gr_zbc,
.sclass = {
{ -1, -1, FERMI_TWOD_A },
{ -1, -1, KEPLER_INLINE_TO_MEMORY_B },