gfxstream: nuke VIRTIO_GPU flag

It's always set.

Reviewed-by: Aaron Ruby <aruby@blackberry.com>
Acked-by: Yonggang Luo <luoyonggang@gmail.com>
Acked-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246>
This commit is contained in:
Gurchetan Singh 2024-01-22 09:11:59 -08:00 committed by Marge Bot
parent f44b1e5523
commit 7d85b542e8

View file

@ -34,13 +34,6 @@
#define PARAM(x) \
(struct VirtGpuParam) { x, #x, 0 }
#if defined(PAGE_SIZE) && defined(VIRTIO_GPU)
constexpr size_t kPageSize = PAGE_SIZE;
#else
#include <unistd.h>
static const size_t kPageSize = getpagesize();
#endif
static inline uint32_t align_up(uint32_t n, uint32_t a) { return ((n + a - 1) / a) * a; }
LinuxVirtGpuDevice::LinuxVirtGpuDevice(enum VirtGpuCapset capset, int fd) : VirtGpuDevice(capset) {