search for: nv50_query_state_ready

Displaying 2 results from an estimated 2 matches for "nv50_query_state_ready".

2015 Jun 22
2
[RFC PATCH 5/8] nv50: prevent NULL pointer dereference with pipe_query functions
...*res64 = (uint64_t *)result; > uint32_t *res32 = (uint32_t *)result; > boolean *res8 = (boolean *)result; > - uint64_t *data64 = (uint64_t *)q->data; > + uint64_t *data64; > int i; > > + if (!pq) > + return FALSE; > + > if (q->state != NV50_QUERY_STATE_READY) > nv50_query_update(q); > > @@ -314,6 +326,7 @@ nv50_query_result(struct pipe_context *pipe, struct pipe_query *pq, > } > q->state = NV50_QUERY_STATE_READY; > > + data64 = (uint64_t *)q->data; > switch (q->type) { > case PIPE_QUERY_GPU_F...
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,