[Mesa-dev] [PATCH v2 0/3] nvc0: Various improvements to nvc0_hw_get_query_result_resource

Rhys Perry pendingchaos02 at gmail.com
Mon Apr 16 20:47:23 UTC 2018


This patch set applies improvements related to the query buffer object
functionality of the nvc0 driver.

Changes in v2:
- Increase space requirement in patch 3 to ensure there is room for fence
  emission.

Rhys Perry (3):
  nvc0: set current bufctx to nvc0->bufctx at the end of nvc0_draw_vbo()
  nvc0: rewrite query buffer write macro to output 64-bit predicates
  nvc0: use a macro to write query result availability to a buffer

 src/gallium/drivers/nouveau/nvc0/mme/com9097.mme   | 136 ++++++++++++------
 src/gallium/drivers/nouveau/nvc0/mme/com9097.mme.h |  98 +++++++++----
 src/gallium/drivers/nouveau/nvc0/nvc0_macros.h     |   2 +
 src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c   | 152 +++++++++++----------
 src/gallium/drivers/nouveau/nvc0/nvc0_screen.c     |   1 +
 src/gallium/drivers/nouveau/nvc0/nvc0_vbo.c        |   2 +-
 6 files changed, 250 insertions(+), 141 deletions(-)

-- 
2.14.3



More information about the mesa-dev mailing list