virtgpu: Fix host_gbm_enabled test

Virtio 2D mode has priv->caps.max_version == 0
because of calloc() and virtio_gpu_get_caps()
never being called. Then,
virtio_gpu_supports_combination_natively()
would return true for priv->caps.max_version == 0
because gfxstream does not advertise any capsets
yet.

This is needed to update minigbm in AOSP after
crrev.com/c/2586132.

BUG=b:178495907
TEST=launch Cuttlefish

Change-Id: I5550d25961145aeaf66344e5598a42f2da7beab3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/2666153
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Commit-Queue: Gurchetan Singh <gurchetansingh@chromium.org>
1 file changed