Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 560e6da2 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau/gr/gm200: make generate_main() static



Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 64cb5a31
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -98,7 +98,6 @@ void gm107_grctx_generate_pagepool(struct gf100_grctx *);
void gm107_grctx_generate_attrib(struct gf100_grctx *);
void gm107_grctx_generate_attrib(struct gf100_grctx *);


extern const struct gf100_grctx_func gm200_grctx;
extern const struct gf100_grctx_func gm200_grctx;
void gm200_grctx_generate_main(struct gf100_gr *, struct gf100_grctx *);
void gm200_grctx_generate_tpcid(struct gf100_gr *);
void gm200_grctx_generate_tpcid(struct gf100_gr *);
void gm200_grctx_generate_405b60(struct gf100_gr *);
void gm200_grctx_generate_405b60(struct gf100_gr *);


+1 −1
Original line number Original line Diff line number Diff line
@@ -86,7 +86,7 @@ gm200_grctx_generate_405b60(struct gf100_gr *gr)
		nvkm_wr32(device, 0x405ba0 + (i * 4), gpcs[i]);
		nvkm_wr32(device, 0x405ba0 + (i * 4), gpcs[i]);
}
}


void
static void
gm200_grctx_generate_main(struct gf100_gr *gr, struct gf100_grctx *info)
gm200_grctx_generate_main(struct gf100_gr *gr, struct gf100_grctx *info)
{
{
	struct nvkm_device *device = gr->base.engine.subdev.device;
	struct nvkm_device *device = gr->base.engine.subdev.device;