venus: group physical device fields with a struct
authorChia-I Wu <olvaffe@gmail.com>
Tue, 31 Aug 2021 19:16:16 +0000 (12:16 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 1 Sep 2021 20:27:50 +0000 (20:27 +0000)
commitfc742333637558ba42fcf48545ddc9b3666ec7d1
tree6f94aaaf9f7b133961fb811464c9cca717597183
parent7aef59ccd2c56fd1713b116f4ccd804da19f503d
venus: group physical device fields with a struct

This makes it clear what the mutex protects.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Ryan Neph <ryanneph@google.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12653>
src/virtio/vulkan/vn_instance.c
src/virtio/vulkan/vn_instance.h
src/virtio/vulkan/vn_physical_device.c