lima: ignore flags while looking for BO in cache
authorVasily Khoruzhick <anarsoul@gmail.com>
Fri, 25 Oct 2019 05:14:05 +0000 (22:14 -0700)
committerVasily Khoruzhick <anarsoul@gmail.com>
Fri, 1 Nov 2019 20:12:07 +0000 (13:12 -0700)
commitdd52744201952af487e87753eee9fad09657578f
tree08c46434a41034916e2b630dcb5d5140495573d2
parentae0b05d8db852cfe4df716e9b6d46c77510214d1
lima: ignore flags while looking for BO in cache

Any BO would work, we don't have any BO types yet anyway. Moreover
lima_submit_add_bo() changes BO flags so they won't match allocation
flags.

Reviewed-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gallium/drivers/lima/lima_bo.c