diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-08-10 04:10:30 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-08-10 05:28:16 +1000 |
commit | 67cfbfdfec9fade9886ff23717023e3149926a49 (patch) | |
tree | 0776a33c94770d9bf4996dfff868e4c7eed97182 /drivers/gpu/drm/nouveau/core/engine/graph/ctxnvc4.c | |
parent | drm/gf100-/gr: fetch tpcs-per-ppc info on startup (diff) | |
download | linux-dev-67cfbfdfec9fade9886ff23717023e3149926a49.tar.xz linux-dev-67cfbfdfec9fade9886ff23717023e3149926a49.zip |
drm/gf100-/gr: unhardcode attribute cb config
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/engine/graph/ctxnvc4.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/engine/graph/ctxnvc4.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/core/engine/graph/ctxnvc4.c b/drivers/gpu/drm/nouveau/core/engine/graph/ctxnvc4.c index ec7f32a6a0f9..8d84dff9fe1f 100644 --- a/drivers/gpu/drm/nouveau/core/engine/graph/ctxnvc4.c +++ b/drivers/gpu/drm/nouveau/core/engine/graph/ctxnvc4.c @@ -104,4 +104,7 @@ nvc4_grctx_oclass = &(struct nvc0_grctx_oclass) { .bundle_size = 0x1800, .pagepool = nvc0_grctx_generate_pagepool, .pagepool_size = 0x8000, + .attrib = nvc0_grctx_generate_attrib, + .attrib_nr_max = 0x324, + .attrib_nr = 0x218, }.base; |