lima: fix PP stream terminator size
authorVasily Khoruzhick <anarsoul@gmail.com>
Thu, 17 Oct 2019 02:20:25 +0000 (19:20 -0700)
committerVasily Khoruzhick <anarsoul@gmail.com>
Sun, 5 Jan 2020 08:16:39 +0000 (00:16 -0800)
commitc5ae64ebc716267f752fc530028791363148f25c
tree599a2452117b5fbfccccc6462e1b57c06e53f78a
parent4f5bfe2a5e252f1f7ae047949d645918f374e07c
lima: fix PP stream terminator size

PP stream terminator size seems to be 4 words, it worked with full PP
stream because we align stream beginning to 32 bytes and BO is
initialized with zeroes. But with partial PP stream it sometimes break
if for new PP stream we reuse BO that has non-zero value at this place.

Reviewed-by: Qiang Yu <yuq825@gmail.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gallium/drivers/lima/lima_draw.c