mesa/src
Roland Scheidegger 76baf99737 r600: hack up num_render_backends on Juniper to 8
Juniper really has a maximum of 4 RBEs (16 pixels). However, predication
always locks up on my HD 5750, and through experiments it looks like if we're
pretending it has a maximum of 8, with 4 disabled, it works correctly.
My conclusion would be that there's a bug (likely firmware, not hw) which
causes the predication logic to try to read 8 results out of the query buffer
instead of just 4, and since of course noone ever writes the upper 4, the
status bit is never set and hence it will wait for it forever.

Ideally this would be fixed in firmware, but I'd guess chances of that
happening are slim.
This will double the size of (occlusion) query result buffers, write the
status bit for the disabled rbs in these buffers, and will also add 8 results
together instead of just 4 when reading them back. The latter is unnecessary,
but it's probably not worth bothering - luckily num_render_backends isn't
used outside of occlusion queries, so don't need separate value for the
"real" maximum.
Also print out the enabled_rb_mask if it changed from the pre-fixed value
(which is already printed out), just in case there's some more problems
with chips which have some rbs disabled...

This fixes all the lockups with piglit nv_conditional_render tests on my
HD 5750 (all pass).

Reviewed-by: Dave Airlie <airlied@redhat.com>
2018-01-10 04:59:00 +01:00
..
amd ac: rework emit_barrier() to not segfault on radeonsi 2018-01-09 10:21:32 +11:00
broadcom broadcom/vc5: Fix discard_if during control flow. 2018-01-03 14:31:36 -08:00
compiler .gitignore: Ignore new generated files 2018-01-08 21:11:11 -08:00
egl egl/android: Fix build break with dri2_initialize_android _EGLDisplay parameter 2018-01-04 10:18:10 -06:00
gallium r600: hack up num_render_backends on Juniper to 8 2018-01-10 04:59:00 +01:00
gbm meson: add dep_thread to every lib that includes threads.h 2017-12-07 17:29:42 +00:00
getopt
glx meson: fix glx-test race 2017-12-13 09:37:12 -08:00
gtest meson: convert gtest to an internal dependency 2017-10-03 10:02:08 -07:00
hgl
intel genxml: Add missing INSTDONE_1 bits on Gen7.5+. 2018-01-09 10:13:53 -08:00
loader loader/dri3: Add XRGB2101010 and ARGB2101010 support. 2018-01-03 22:57:56 +01:00
mapi mesa: Tidy up the 4.6 section of GL4x.xml 2018-01-06 09:28:45 +01:00
mesa Fix use of alloca() without #include <c99_alloca.h> 2018-01-09 22:07:52 +00:00
util link mesautil with pthreads 2018-01-08 11:40:02 -05:00
vulkan vulkan/wsi: free cmd pools 2017-12-28 09:57:33 +10:00
git_sha1.h.in meson: Build i965 and dri stack 2017-10-09 13:42:44 -07:00
Makefile.am wayland-drm: static inline wayland_drm_buffer_get 2017-11-08 14:40:12 +00:00
meson.build meson: build r600 driver 2017-11-28 14:06:33 -08:00
SConscript buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00