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

Rhys Perry pendingchaos02 at gmail.com
Tue May 22 23:15:41 UTC 2018


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

Changes in v3:
- Ensure nvc0->bufctx is in effect in get_query_result_resource() instead of
  setting it as current at the end of nvc0_draw_vbo()
- Rebase to master
Changes in v2:
- Increase space requirement in patch 3 to ensure there is room for fence
  emission.

Rhys Perry (3):
  nvc0: ensure nvc0->bufctx is in effect in nvc0_hw_get_query_resource()
  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   | 162 +++++++++++----------
 src/gallium/drivers/nouveau/nvc0/nvc0_screen.c     |   1 +
 5 files changed, 252 insertions(+), 147 deletions(-)

-- 
2.14.3



More information about the mesa-dev mailing list