[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f9dbd6fb-b190-f7cb-244d-9768086accba@gmail.com>
Date: Wed, 30 May 2018 09:52:07 +0300
From: Oleksandr Andrushchenko <andr2000@...il.com>
To: xen-devel@...ts.xenproject.org, linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org, linux-media@...r.kernel.org,
jgross@...e.com, boris.ostrovsky@...cle.com, konrad.wilk@...cle.com
Cc: daniel.vetter@...el.com, dongwon.kim@...el.com,
matthew.d.roper@...el.com,
Oleksandr Andrushchenko <oleksandr_andrushchenko@...m.com>
Subject: Re: [PATCH 5/8] xen/gntdev: Add initial support for dma-buf UAPI
On 05/25/2018 06:33 PM, Oleksandr Andrushchenko wrote:
> diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig
> index 3431fe210624..eaf63a2c7ae6 100644
> --- a/drivers/xen/Kconfig
> +++ b/drivers/xen/Kconfig
> @@ -152,6 +152,16 @@ config XEN_GNTDEV
> help
> Allows userspace processes to use grants.
>
> +config XEN_GNTDEV_DMABUF
> + bool "Add support for dma-buf grant access device driver extension"
> + depends on XEN_GNTDEV && XEN_GRANT_DMA_ALLOC
This must be "depends on XEN_GNTDEV && XEN_GRANT_DMA_ALLOC &&
*DMA_SHARED_BUFFER*"
> + help
> + Allows userspace processes and kernel modules to use Xen backed
> + dma-buf implementation. With this extension grant references to
> + the pages of an imported dma-buf can be exported for other domain
> + use and grant references coming from a foreign domain can be
> + converted into a local dma-buf for local export.
> +
>
Powered by blists - more mailing lists