RE: [PATCH v6 03/13] virtio-gpu: Add udmabuf helpers

2021-05-26 Thread Kasireddy, Vivek
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

Re: [PATCH v6 03/13] virtio-gpu: Add udmabuf helpers

2021-05-25 Thread Gerd Hoffmann
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). > +#include gitlab ci (build-system-alpine): /usr/inc

[PATCH v6 03/13] virtio-gpu: Add udmabuf helpers

2021-05-24 Thread Vivek Kasireddy
Add helper functions to create a dmabuf for a resource and mmap it. Also, introduce the fields blob and blob_size so that these helpers can start to use them but the full picture will emerge only after adding create_blob API in patch 8 of this series. To be able to create a dmabuf using the udmabu