From 25722e3454fb179933514f3a1b76e0f4662875bd Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Wed, 27 Mar 2013 23:38:29 +0100 Subject: nvc0: use NOUVEAU_GETPARAM_GRAPH_UNITS to get MP count --- src/gallium/drivers/nvc0/nvc0_screen.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/gallium/drivers/nvc0/nvc0_screen.h') diff --git a/src/gallium/drivers/nvc0/nvc0_screen.h b/src/gallium/drivers/nvc0/nvc0_screen.h index 16f0febd3ea..13dc83e7e8a 100644 --- a/src/gallium/drivers/nvc0/nvc0_screen.h +++ b/src/gallium/drivers/nvc0/nvc0_screen.h @@ -38,7 +38,7 @@ struct nvc0_screen { struct nouveau_bo *txc; /* TIC (offset 0) and TSC (65536) */ struct nouveau_bo *poly_cache; - uint64_t tls_size; + uint16_t mp_count; struct nouveau_heap *text_heap; struct nouveau_heap *lib_code; /* allocated from text_heap */ @@ -86,6 +86,9 @@ int nvc0_screen_tsc_alloc(struct nvc0_screen *, void *); int nve4_screen_compute_setup(struct nvc0_screen *, struct nouveau_pushbuf *); +boolean nvc0_screen_resize_tls_area(struct nvc0_screen *, uint32_t lpos, + uint32_t lneg, uint32_t cstack); + static INLINE void nvc0_resource_fence(struct nv04_resource *res, uint32_t flags) { -- cgit v1.2.3