winsys/amdgpu: clean up and remove nonsensical assertion
authorMarek Olšák <marek.olsak@amd.com>
Thu, 14 Feb 2019 05:38:37 +0000 (00:38 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 23 Apr 2019 15:36:31 +0000 (11:36 -0400)
commit694e320643f7fc6a4f1a9cf3e4ac274c37cccdfb
treebe3c98e691f13aeb013f5d2fb516a94a1adb966c
parent1807f6cfe9037a29b99c14c71b915b4776c729e0
winsys/amdgpu: clean up and remove nonsensical assertion

The assertion considers max_dw from the current IB in the chain, but
big_ib_buffer is a buffer for the next IB, which can be smaller.

Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Acked-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/winsys/amdgpu/drm/amdgpu_cs.c