From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: [RFC PATCH] drm/virtio: Export resource handles via DMA-buf API Date: Wed, 16 Oct 2019 08:12:01 +0200 Message-ID: <20191016061201.iinqjcw6trx5qztq__46721.5312340826$1571206334$gmane$org@sirius.home.kraxel.org> References: <20190912094121.228435-1-tfiga@chromium.org> <20190917132305.GV3958@phenom.ffwll.local> <20191008100328.GN16989@phenom.ffwll.local> <20191008150435.GO16989@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: Tomasz Figa Cc: Zach Reizner , David Airlie , Linux Kernel Mailing List , dri-devel , virtualization@lists.linux-foundation.org, Keiichi Watanabe , stevensd@chromium.org, Daniel Vetter , =?utf-8?B?U3TDqXBoYW5l?= Marchesin , Pawel Osciak List-Id: virtualization@lists.linuxfoundation.org Hi, > up later when given a buffer index. But we would still need to make > the DMA-buf itself importable. For virtio-gpu I guess that would mean > returning an sg_table backed by the shadow buffer pages. The virtio-gpu driver in drm-misc-next supports dma-buf exports. cheers, Gerd