util/disk_cache: Split out queue initialization
authorRob Clark <robdclark@chromium.org>
Sat, 1 Apr 2023 14:27:43 +0000 (07:27 -0700)
committerMarge Bot <emma+marge@anholt.net>
Wed, 5 Apr 2023 20:25:04 +0000 (20:25 +0000)
commitafb350906eaa3dc0c6273d6af1843beea3971c47
tree8df79cea10c7a2c93b5b9c5a7e03941be8b6d63e
parenteef7a117a1a1b045444a520a6dfc2a43069ae1fc
util/disk_cache: Split out queue initialization

Split out a helper to initialize the queue, as we'll want to re-use this
for the blob-cache case.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22248>
src/util/disk_cache.c