diff options
author | Christoph Bumiller <[email protected]> | 2013-03-27 23:38:29 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2013-03-29 00:33:00 +0100 |
commit | 25722e3454fb179933514f3a1b76e0f4662875bd (patch) | |
tree | f73ecdc92c2c782ad9748ede9d28fd2fcfae9276 /src/gallium/drivers/nvc0/nvc0_screen.h | |
parent | 443b247878edd6a67adc073b0c36e2941436b9a0 (diff) |
nvc0: use NOUVEAU_GETPARAM_GRAPH_UNITS to get MP count
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_screen.h')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_screen.h | 5 |
1 files changed, 4 insertions, 1 deletions
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) { |