mesa/src
Roland Scheidegger 7c0bc495f1 r600: fix enabled_rb_mask on eg/cm
For eg/cm, the r600_gb_backend_map will always be 0. This is a bug in
the drm kernel driver, as it just just never fills the information in
(it is now being fixed - the history shows it was being filled in when
the query was brand new but got lost shortly thereafter with backend_map
fixes).
This causes r600_query_hw_prepare_buffer to write the "status bit"
(just the highest bit of the occlusion query result) even for active rbes
(all but the first). This doesn't make much sense, albeit I suppose it's mostly
safe. According to the commit history, it's necessary to set these bits for
inactive rbes since otherwise predication will lock up - presumably the hw just
is waiting for the status bit to appear, which will never happen with inactive
rbes. I'd guess potentially predication could be wrong (due to not waiting for
the actual result if the status bit is already there) if this is set for
active rbes.

Discovered while trying to fix predication lockups on Juniper (needs another
patch).

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: fix enabled_rb_mask on eg/cm 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