crocus: optimise bo_unref path a little.
authorDave Airlie <airlied@redhat.com>
Sun, 4 Jul 2021 19:11:26 +0000 (05:11 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 5 Jul 2021 05:03:48 +0000 (15:03 +1000)
commitbe5bb3146a47dd76e87a79c1ec1965d2450240ca
treed3ff8f74fbf08c20b5d187bd8c1281b8c7091d18
parenta907e29a3ec3dc71c4faf80d58fa1b665e1cbdba
crocus: optimise bo_unref path a little.

This just splits it into the atomic/non-atomic paths

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11707>
src/gallium/drivers/crocus/crocus_bufmgr.c
src/gallium/drivers/crocus/crocus_bufmgr.h