summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.c
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2017-03-29 12:31:20 +0300
committerBen Skeggs <bskeggs@redhat.com>2017-04-06 07:39:04 +0300
commit51751f7db0c9f457318fba2004ca8fe2bb2c0b7e (patch)
tree7ad7321562049d79043a9c25c3a65ee5ea1a231e /drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.c
parent0af0327cd92a8e2aa1573228a44e97e1a34ff2c1 (diff)
downloadlinux-51751f7db0c9f457318fba2004ca8fe2bb2c0b7e.tar.xz
drm/nouveau/gr: support for GP10B
GR is similar to GP100, with a few unavailable registers. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.c')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.c b/drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.c
index 1d5117a16299..109fda8eb124 100644
--- a/drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.c
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.c
@@ -47,6 +47,7 @@ gp102_gr = {
.init_rop_active_fbps = gp100_gr_init_rop_active_fbps,
.init_ppc_exceptions = gk104_gr_init_ppc_exceptions,
.init_swdx_pes_mask = gp102_gr_init_swdx_pes_mask,
+ .init_num_active_ltcs = gp100_gr_init_num_active_ltcs,
.rops = gm200_gr_rops,
.ppc_nr = 3,
.grctx = &gp102_grctx,