lima: fix tile buffer reloading
authorVasily Khoruzhick <anarsoul@gmail.com>
Wed, 8 May 2019 02:03:34 +0000 (19:03 -0700)
committerVasily Khoruzhick <anarsoul@gmail.com>
Fri, 10 May 2019 04:45:04 +0000 (21:45 -0700)
commite44a4bae52f8d835bd7d4b740cb688f59d03cced
treed1a203b1fac00dd4630d42873dfadb1d93b3d75a
parentf7d53fffa22d2620bb32cc3c6d9e6b8278ee8272
lima: fix tile buffer reloading

Buffer needs to be reloaded every time unless explicit clear() was
called.

Fixes rendering issues with wayland compositors.

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