]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/gpu/drm/nouveau/core/engine/graph/ctxnvc4.c
drm/gf100-/gr: unhardcode attribute cb config
[mirror_ubuntu-bionic-kernel.git] / drivers / gpu / drm / nouveau / core / engine / graph / ctxnvc4.c
index e11ed5538193047797f424b549c4896675a80593..8d84dff9fe1fbe92ef64b88d5a668152bfa5ec8b 100644 (file)
@@ -100,4 +100,11 @@ 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,
+       .attrib = nvc0_grctx_generate_attrib,
+       .attrib_nr_max = 0x324,
+       .attrib_nr = 0x218,
 }.base;