Searched refs:tls_space (Results 1 – 5 of 5) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_screen.c | 909 static int nv50_tls_alloc(struct nv50_screen *screen, unsigned tls_space, in nv50_tls_alloc() argument 915 screen->cur_tls_space = util_next_power_of_two(tls_space / ONE_TEMP_SIZE) * in nv50_tls_alloc() 919 util_next_power_of_two(tls_space / ONE_TEMP_SIZE)); in nv50_tls_alloc() 933 int nv50_tls_realloc(struct nv50_screen *screen, unsigned tls_space) in nv50_tls_realloc() argument 939 if (tls_space < screen->cur_tls_space) in nv50_tls_realloc() 941 if (tls_space > screen->max_tls_space) { in nv50_tls_realloc() 945 (unsigned)(tls_space / ONE_TEMP_SIZE), in nv50_tls_realloc() 951 ret = nv50_tls_alloc(screen, tls_space, &tls_size); in nv50_tls_realloc() 1183 unsigned tls_space = 4/*temps*/ * ONE_TEMP_SIZE; in nv50_screen_create() local 1184 ret = nv50_tls_alloc(screen, tls_space, &tls_size); in nv50_screen_create()
|
D | nv50_program.h | 68 uint32_t tls_space; /* required local memory per thread */ member
|
D | nv50_screen.h | 218 extern int nv50_tls_realloc(struct nv50_screen *screen, unsigned tls_space);
|
D | nv50_program.c | 405 prog->tls_space = info_out.bin.tlsSpace; in nv50_program_translate() 512 ret = nv50_tls_realloc(nv50->screen, prog->tls_space); in nv50_program_upload_code()
|
D | nv50_shader_state.c | 140 if (prog && prog->tls_space) { in nv50_program_update_context_state()
|