drm/gf100-/gr: unhardcode pagepool config
[cascardo/linux.git] / drivers / gpu / drm / nouveau / core / engine / graph / ctxnvc4.c
index e11ed55..ec7f32a 100644 (file)
@@ -100,4 +100,8 @@ nvc4_grctx_oclass = &(struct nvc0_grctx_oclass) {
        .tpc   = nvc4_grctx_pack_tpc,
        .icmd  = nvc0_grctx_pack_icmd,
        .mthd  = nvc0_grctx_pack_mthd,
+       .bundle = nvc0_grctx_generate_bundle,
+       .bundle_size = 0x1800,
+       .pagepool = nvc0_grctx_generate_pagepool,
+       .pagepool_size = 0x8000,
 }.base;