radeong: do not emit a zero-sized command stream
authorMarek Olšák <maraeo@gmail.com>
Sat, 23 Jan 2010 16:19:44 +0000 (17:19 +0100)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Mon, 25 Jan 2010 07:03:29 +0000 (23:03 -0800)
commit85059964307c3f10e4a328d82af2bb791a5a4927
tree5d2e0499c3b2de9e56feb2e30f2727978735a523
parent4aed0944f4b8b8d14d210cf6bc87ccddfa9a77ec
radeong: do not emit a zero-sized command stream

Fixing a hardlock introduced in fcbd285e421903ee0a65f19f5d633b25b5923c24 and
reproducible with piglit/bugs/fdo23489.
src/gallium/winsys/drm/radeon/core/radeon_r300.c