search for: nv50_3d_cond_mode_always

Displaying 4 results from an estimated 4 matches for "nv50_3d_cond_mode_always".

2014 Oct 21
0
[PATCH v2] nv50: Handle ARB_conditional_render_inverted and enable it
...struct nouveau_pushbuf *push = nv50->base.pushbuf; - struct nv50_query *q; + struct nv50_query *q = nv50_query(pq); + + + uint32_t cond; + boolean wait = + mode != PIPE_RENDER_COND_NO_WAIT && + mode != PIPE_RENDER_COND_BY_REGION_NO_WAIT; + + if (!pq) { + cond = NV50_3D_COND_MODE_ALWAYS; + } + else { + /* NOTE: comparison of 2 queries only works if both have completed */ + switch (q->type) { + case PIPE_QUERY_SO_OVERFLOW_PREDICATE: + cond = condition ? NV50_3D_COND_MODE_EQUAL : + NV50_3D_COND_MODE_NOT_EQUAL; + wait =...
2015 Jun 22
12
[RFC PATCH 0/8] nv50: expose global performance counters
Hello there, This series exposes NVIDIA's global performance counters for Tesla through the Gallium's HUD and the GL_AMD_performance_monitor extension. This adds support for 24 hardware events which have been reverse engineered with PerfKit (Windows) and CUPTI (Linux). These hardware events will allow developers to profile OpenGL applications. To reduce latency and to improve accuracy,
2016 Jun 05
0
[RFC PATCH] nouveau: add locking
...>end_query = nv50_end_query; pipe->get_query_result = nv50_get_query_result; pipe->set_active_query_state = nv50_set_active_query_state; - pipe->render_condition = nv50_render_condition; + pipe->render_condition = nv50_render_condition_locked; nv50->cond_condmode = NV50_3D_COND_MODE_ALWAYS; } diff --git a/src/gallium/drivers/nouveau/nv50/nv50_query_hw.c b/src/gallium/drivers/nouveau/nv50/nv50_query_hw.c index 727b509..9067bcc 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_query_hw.c +++ b/src/gallium/drivers/nouveau/nv50/nv50_query_hw.c @@ -129,6 +129,7 @@ nv50_hw_begin_query(...
2014 Dec 31
2
[PATCH 1/2] nv50: regenerate rnndb headers
...e NV50_3D_NOPERSPECTIVE_BITMAP__LEN 0x00000004 #define NV50_3D_COND_ADDRESS_HIGH 0x00001550 -#define NV50_3D_COND_ADDRESS_LOW 0x00001554 +#define NV50_3D_COND_ADDRESS_LOW 0x00001554 #define NV50_3D_COND_MODE 0x00001558 #define NV50_3D_COND_MODE_NEVER 0x00000000 -#define NV50_3D_COND_MODE_ALWAYS 0x00000001 +#define NV50_3D_COND_MODE_ALWAYS 0x00000001 #define NV50_3D_COND_MODE_RES_NON_ZERO 0x00000002 #define NV50_3D_COND_MODE_EQUAL 0x00000003 #define NV50_3D_COND_MODE_NOT_EQUAL 0x00000004 -#define NV50_3D_TSC_ADDRESS_HIGH 0x0000155c +#define NV50_3D_TSC_ADDRESS_HIGH...