mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 11:20:20 +01:00
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:
parent
f44b1e5523
commit
7d85b542e8
1 changed files with 0 additions and 7 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue