[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [PATCH v6 03/13] virtio-gpu: Add udmabuf helpers
From: |
Kasireddy, Vivek |
Subject: |
RE: [PATCH v6 03/13] virtio-gpu: Add udmabuf helpers |
Date: |
Wed, 26 May 2021 19:32:14 +0000 |
Hi Gerd,
> Hi,
>
> > +#ifdef CONFIG_LINUX
>
> Seems wee need "#if defined(CONFIG_LINUX) && defined(F_GET_SEALS)" here
> to cover old linux versions. I see some build failures in gitlab CI due to
> F_GET_SEALS not being defined (crypto-old-nettle for example).
[Kasireddy, Vivek] Instead, I am planning to remove the ifdef and add a file in
stubs
with the pixman dependency like you suggested. For seals, I think I could just
include
qemu/memfd.h that has a definition for F_GET_SEALS.
>
> > +#include <sys/fcntl.h>
>
> gitlab ci (build-system-alpine):
>
> /usr/include/sys/fcntl.h:1:2: error: #warning redirecting incorrect #include
> <sys/fcntl.h> to
> <fcntl.h> [-Werror=cpp]
> 1 | #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h>
[Kasireddy, Vivek] Ok, I'll replace sys/fcntl.h with just fcntl.h
>
> Otherwise series looks good and survived basic testing.
[Kasireddy, Vivek] Will send a v7 that would address the above issues.
Thanks,
Vivek
>
> take care,
> Gerd
- [PATCH v6 00/13] virtio-gpu: Add support for Blob resources feature, Vivek Kasireddy, 2021/05/24
- [PATCH v6 01/13] ui: Get the fd associated with udmabuf driver, Vivek Kasireddy, 2021/05/24
- [PATCH v6 02/13] headers: Add udmabuf.h, Vivek Kasireddy, 2021/05/24
- [PATCH v6 03/13] virtio-gpu: Add udmabuf helpers, Vivek Kasireddy, 2021/05/24
- [PATCH v6 04/13] virtio-gpu: Add virtio_gpu_find_check_resource, Vivek Kasireddy, 2021/05/24
- [PATCH v6 05/13] virtio-gpu: Refactor virtio_gpu_set_scanout, Vivek Kasireddy, 2021/05/24
- [PATCH v6 06/13] virtio-gpu: Refactor virtio_gpu_create_mapping_iov, Vivek Kasireddy, 2021/05/24
- [PATCH v6 07/13] virtio-gpu: Add initial definitions for blob resources, Vivek Kasireddy, 2021/05/24
- [PATCH v6 08/13] virtio-gpu: Add virtio_gpu_resource_create_blob, Vivek Kasireddy, 2021/05/24
- [PATCH v6 09/13] ui/pixman: Add qemu_pixman_to_drm_format(), Vivek Kasireddy, 2021/05/24
- [PATCH v6 10/13] virtio-gpu: Add helpers to create and destroy dmabuf objects, Vivek Kasireddy, 2021/05/24
- [PATCH v6 11/13] virtio-gpu: Factor out update scanout, Vivek Kasireddy, 2021/05/24
- [PATCH v6 12/13] virtio-gpu: Add virtio_gpu_set_scanout_blob, Vivek Kasireddy, 2021/05/24
- [PATCH v6 13/13] virtio-gpu: Update cursor data using blob, Vivek Kasireddy, 2021/05/24