nvc0: ensure sufficient push space for indirect data
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 21 Mar 2021 08:05:06 +0000 (04:05 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 22 Mar 2021 15:20:45 +0000 (15:20 +0000)
commit8604cc81017ef4edbce37fded046f082e312e174
tree0e312042638bc295f2d84a40e287e0649a41dbe3
parentee3920b215a4802cdc1045655ea6d95fcbccb8be
nvc0: ensure sufficient push space for indirect data

There may be up to 3 pushbuf data's submitted in this function, make
sure that we allocate enough room for these.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9740>
src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c