Commit ad45a92b authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/gr/gf100-: update 419eb0 where required

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 5b54b5b9
......@@ -1428,6 +1428,8 @@ gf100_grctx_generate_main(struct gf100_gr *gr, struct gf100_grctx *info)
grctx->r419cb8(gr);
if (grctx->r418800)
grctx->r418800(gr);
if (grctx->r419eb0)
grctx->r419eb0(gr);
}
#define CB_RESERVED 0x80000
......
......@@ -66,6 +66,7 @@ struct gf100_grctx_func {
/* misc other things */
void (*r419cb8)(struct gf100_gr *);
void (*r418800)(struct gf100_gr *);
void (*r419eb0)(struct gf100_gr *);
};
extern const struct gf100_grctx_func gf100_grctx;
......@@ -111,6 +112,8 @@ void gk104_grctx_generate_unkn(struct gf100_gr *);
void gk104_grctx_generate_r418800(struct gf100_gr *);
extern const struct gf100_grctx_func gk110_grctx;
void gk110_grctx_generate_r419eb0(struct gf100_gr *);
extern const struct gf100_grctx_func gk110b_grctx;
extern const struct gf100_grctx_func gk208_grctx;
......
......@@ -808,6 +808,13 @@ gk110_grctx_pack_ppc[] = {
* PGRAPH context implementation
******************************************************************************/
void
gk110_grctx_generate_r419eb0(struct gf100_gr *gr)
{
struct nvkm_device *device = gr->base.engine.subdev.device;
nvkm_mask(device, 0x419eb0, 0x00001000, 0x00001000);
}
const struct gf100_grctx_func
gk110_grctx = {
.main = gk104_grctx_generate_main,
......@@ -838,4 +845,5 @@ gk110_grctx = {
.dist_skip_table = gf117_grctx_generate_dist_skip_table,
.gpc_tpc_nr = gk104_grctx_generate_gpc_tpc_nr,
.r418800 = gk104_grctx_generate_r418800,
.r419eb0 = gk110_grctx_generate_r419eb0,
};
......@@ -99,4 +99,5 @@ gk110b_grctx = {
.dist_skip_table = gf117_grctx_generate_dist_skip_table,
.gpc_tpc_nr = gk104_grctx_generate_gpc_tpc_nr,
.r418800 = gk104_grctx_generate_r418800,
.r419eb0 = gk110_grctx_generate_r419eb0,
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment