drm/nouveau/gr/gm200: make generate_main() static
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
@@ -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 *);
|
||||||
|
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user