iris/bufmgr: Move iris_bo_reference into hash_find_bo, rename it
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 3 Aug 2019 10:13:55 +0000 (03:13 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 5 Aug 2019 15:53:07 +0000 (08:53 -0700)
commit48e5a99d86967783de1fb46a2e82293825089a7a
tree32a9dfbcd8c74161f376c7a624cf744b7637fb89
parent4f75ea57c21bdd4100bb8a17d4823eb32f286483
iris/bufmgr: Move iris_bo_reference into hash_find_bo, rename it

Everybody importing an external buffer was looking it up in the hash
table, then referencing it.  We can just do that in the helper instead,
which also gives us a convenient spot to stash extra code shortly.
src/gallium/drivers/iris/iris_bufmgr.c