iris: Make a resource_is_busy() helper
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 16 Apr 2019 20:23:06 +0000 (13:23 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 23 Apr 2019 07:24:08 +0000 (00:24 -0700)
commit768b17a7ad12fa59de5e4be89029b579a5832baf
treec1b7b6c99397864020f6869128ed3cf59521db53
parent5ad0c88dbe3e5805a10d8f1fef9d0cf1bbecdd46
iris: Make a resource_is_busy() helper

This checks both "is it busy" and "do we have work queued up for it"?
src/gallium/drivers/iris/iris_resource.c