mesa/src/gallium/drivers/radeonsi
Timothy Arceri 603206d0a6 radeonsi: fix query buffer allocation
Fix the logic for buffer full check on alloc.

This patch just takes the fix Nicolai attached to the bug report
and updates it to work on master.

Fixes: e0f0d3675d ("radeonsi: factor si_query_buffer logic out of si_query_hw")

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109561
2019-02-26 09:55:41 +11:00
..
glsl_tests radeonsi: update copyrights 2018-04-05 15:34:58 -04:00
.dir-locals.el Fix setting indent-tabs-mode in the Emacs .dir-locals.el files 2018-10-17 19:03:08 +02:00
.editorconfig
.gitignore radeonsi: create .gitignore 2018-05-16 21:48:17 -04:00
Android.mk Android: fix a missing nir_intrinsics.h error 2018-07-21 08:50:23 +02:00
Automake.inc radeonsi: don't build libradeon.la separately 2018-04-05 15:34:58 -04:00
Makefile.am configure: allow building with python3 2018-10-31 19:15:50 +00:00
Makefile.sources radeonsi: move remaining perfcounter code into si_perfcounter.c 2018-12-19 12:01:57 +01:00
cik_sdma.c radeonsi: rename rsrc -> ssrc, rdst -> sdst 2019-01-22 13:33:04 -05:00
driinfo_radeonsi.h radeonsi: add driconf option radeonsi_enable_nir 2019-02-19 17:59:17 -05:00
meson.build radeonsi: move remaining perfcounter code into si_perfcounter.c 2018-12-19 12:01:57 +01:00
si_blit.c radeonsi: use compute for resource_copy_region when possible 2019-01-22 12:24:35 -05:00
si_buffer.c radeonsi: use SDMA for uploading data through const_uploader 2019-02-20 21:04:29 -05:00
si_build_pm4.h radeonsi/gfx9: use SET_UCONFIG_REG_INDEX packets when available 2018-12-19 12:01:32 +01:00
si_clear.c radeonsi: initialize textures using DCC to black when possible 2019-02-06 11:17:21 -05:00
si_compute.c radeonsi: rename r600_resource -> si_resource 2019-01-22 13:32:18 -05:00
si_compute.h radeonsi: Bump number of allowed global buffers to 32 2018-10-18 16:02:42 -04:00
si_compute_blit.c radeonsi: clear allocator_zeroed_memory with SDMA 2019-02-06 11:17:21 -05:00
si_cp_dma.c radeonsi: rename rsrc -> ssrc, rdst -> sdst 2019-01-22 13:33:04 -05:00
si_debug.c radeonsi: rename r600_resource -> si_resource 2019-01-22 13:32:18 -05:00
si_descriptors.c radeonsi: rename rbo, rbuffer to buf or buffer 2019-01-22 13:34:01 -05:00
si_dma.c radeonsi: rename rsrc -> ssrc, rdst -> sdst 2019-01-22 13:33:04 -05:00
si_dma_cs.c radeonsi: use SDMA for uploading data through const_uploader 2019-02-20 21:04:29 -05:00
si_fence.c radeonsi: fix a comment typo in si_fine_fence_set 2019-01-30 14:32:05 -05:00
si_get.c radeonsi: Go back to using llvm.pow intrinsic for nir_op_fpow 2019-02-19 15:56:19 -08:00
si_gfx_cs.c radeonsi: use SDMA for uploading data through const_uploader 2019-02-20 21:04:29 -05:00
si_gpu_load.c radeonsi: rename rscreen -> sscreen 2019-01-22 12:25:57 -05:00
si_perfcounter.c radeonsi: use MEM instead of MEM_GRBM in COPY_DATA.DST_SEL 2019-02-12 13:08:54 -05:00
si_pipe.c radeonsi: use SDMA for uploading data through const_uploader 2019-02-20 21:04:29 -05:00
si_pipe.h radeonsi: use SDMA for uploading data through const_uploader 2019-02-20 21:04:29 -05:00
si_pm4.c radeonsi: rename r600_resource -> si_resource 2019-01-22 13:32:18 -05:00
si_pm4.h radeonsi: rename r600_resource -> si_resource 2019-01-22 13:32:18 -05:00
si_public.h radeonsi: update copyrights 2018-04-05 15:34:58 -04:00
si_query.c radeonsi: fix query buffer allocation 2019-02-26 09:55:41 +11:00
si_query.h radeonsi: fix query buffer allocation 2019-02-26 09:55:41 +11:00
si_shader.c ac/radv/radeonsi: add ac_get_num_physical_sgprs() helper 2019-02-01 22:25:30 +11:00
si_shader.h radeonsi: rename r600_resource -> si_resource 2019-01-22 13:32:18 -05:00
si_shader_internal.h radeonsi: fix GPU hangs with bindless textures and LLVM 7.0 2018-09-10 15:19:56 -04:00
si_shader_nir.c nir, glsl: move pixel_center_integer/origin_upper_left to shader_info.fs 2019-02-21 11:47:59 +01:00
si_shader_tgsi_alu.c amd: remove support for LLVM 6.0 2018-12-06 14:02:56 +01:00
si_shader_tgsi_mem.c radeonsi: use buffer_store_format_x & xy 2019-01-22 11:59:27 -05:00
si_shader_tgsi_setup.c radeonsi: fix regression in indirect input swizzles. 2018-08-31 06:08:24 +01:00
si_shaderlib_tgsi.c radeonsi: release tokens after creating the shader program 2019-02-05 11:50:54 +01:00
si_state.c radeonsi: enable dithered alpha-to-coverage for better quality 2019-01-30 12:35:22 -05:00
si_state.h radeonsi: rename rbo, rbuffer to buf or buffer 2019-01-22 13:34:01 -05:00
si_state_binning.c radeonsi: add support for Raven2 (v2) 2018-10-30 16:03:02 -04:00
si_state_draw.c radeonsi: don't leak an index buffer if draw_vbo fails 2019-02-06 11:17:21 -05:00
si_state_msaa.c radeonsi: fix an out-of-bounds read reported by ASAN 2018-11-19 11:16:35 +01:00
si_state_shaders.c radeonsi: rename r600_resource -> si_resource 2019-01-22 13:32:18 -05:00
si_state_streamout.c radeonsi: rename rbo, rbuffer to buf or buffer 2019-01-22 13:34:01 -05:00
si_state_viewport.c radeonsi: Fix guardband computation for large render targets 2019-02-12 17:21:46 -05:00
si_test_dma.c radeonsi: use compute shaders for clear_buffer & copy_buffer 2018-10-16 17:23:25 -04:00
si_test_dma_perf.c radeonsi: allow si_cp_dma_clear_buffer to clear GDS from any IB 2018-11-28 20:20:27 -05:00
si_texture.c radeonsi: initialize textures using DCC to black when possible 2019-02-06 11:17:21 -05:00
si_uvd.c radeonsi: fix video APIs on Raven2 2018-11-14 17:08:34 -05:00