summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2015-06-23 08:16:04 +0200
committerBen Skeggs <bskeggs@redhat.com>2015-08-28 04:40:02 +0200
commita032fb9da665ed6e6a36fa6788eff1db43ba2703 (patch)
treedcfb4c663164c6847b087da6dbb5adb8b9c2015c /drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c
parentdrm/nouveau/fifo: add GM20B fifo (diff)
downloadlinux-a032fb9da665ed6e6a36fa6788eff1db43ba2703.tar.xz
linux-a032fb9da665ed6e6a36fa6788eff1db43ba2703.zip
drm/nouveau/gr: add GM20B support
Add support for GM20B's graphics engine, based on GK20A. Note that this code alone will not allow the engine to initialize on released devices which require PMU-assisted secure boot. 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/ctxgm107.c')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c b/drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c
index fbeaae3ae6ce..6bf2fd1a05ba 100644
--- a/drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c
@@ -931,7 +931,7 @@ gm107_grctx_generate_attrib(struct gf100_grctx *info)
}
}
-static void
+void
gm107_grctx_generate_tpcid(struct gf100_gr_priv *priv)
{
int gpc, tpc, id;