radeonsi/gfx9: fix a hang with an empty first IB
authorMarek Olšák <marek.olsak@amd.com>
Tue, 17 Apr 2018 19:28:04 +0000 (15:28 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 18 Apr 2018 18:42:06 +0000 (14:42 -0400)
commitd15fb766aa3c98ffbe16d050b2af4804e4b12c57
tree6775b5859487dc75b14f3af64124eaccaf6df6d8
parentd28c24650110c130008be3d3fe584520ff00ceb1
radeonsi/gfx9: fix a hang with an empty first IB

This packet causes the no-op IB detection to fail, so the IB is always
submitted. Also fix the no-op IB detection by moving the begin call.

Cc: 18.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_pipe.c