Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp7161846ybp; Wed, 16 Oct 2019 04:50:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqzGYpELTpOvtqkNGnxKleEE+E/6+erm1r1BRpyBqmv3wjXBJTVdCMuTX3ubLuWqYiYxHSIT X-Received: by 2002:a17:906:5fc1:: with SMTP id k1mr39772523ejv.268.1571226647601; Wed, 16 Oct 2019 04:50:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571226647; cv=none; d=google.com; s=arc-20160816; b=t9PSSsr35kbbFCncrnoVEkAcnhCyOsogBeUf6ErEYY4gHZqO1OyguY9/XVKV5ohvFe NLGD+SEwD4yLJWEfhG3/agJf+lvqW/DcxtdqCQGgrOC0QiUYAzHSOXEzB3fBUMx7yeaR zIq+zsYKv5s77AOV6Js9NyP7uCc1ipK0roRQY5JsZT/q4QhyKX841Z9wgV1Zst34skBX MotMzdAoBeaHznVz0vHXDJkNaYmueU3hhqE3oLAvdYfAg1N7b9tA5FPCYSUza90hRrd2 8+bhiJLYpCfZwwJkxmpDtMbcLytFxlgOZHFQhQi0Ty9wmgWIoDUMxa5wKkB8BVEQRPbI 6tKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=cjy36NqIs2uuTbgArob11M1ucsKYxaj/4Kkpg7Sm73M=; b=EGXF348ZkzbYMbmj8zY4Jos9xGDCmGbyknuc21QaXJ9YIyTh3cRaVSpgNdG14PsuZQ /nLKtW4x0zHEJQvjRHdM4ZS5VyHX3bHuKfoq9jxkg9qVKaztA6I8qeqQhZh2lVpc8VsT opZ/MlUIwIumxxII+q3EzNAtD3YSYdDCrOtHyx8x0C8EQq6vY4ZkM3XHXxRXrITLeI2t GOvGj4vmc68hBwnSILHyofw0bC9h37pYCdJ3rhL5ARSs2GOqb41pxj4cDLSs/lL47cJT qDFUDtkJApynKSP6XHzVBp7LfPI9xxHIoCKZnsHVYPekLQviRU4RNENZ/nbQT8eQ2tQj RD/A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f13si17048690edl.170.2019.10.16.04.50.24; Wed, 16 Oct 2019 04:50:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727923AbfJPGMD (ORCPT + 99 others); Wed, 16 Oct 2019 02:12:03 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49326 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725797AbfJPGMD (ORCPT ); Wed, 16 Oct 2019 02:12:03 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 19CE03082B40; Wed, 16 Oct 2019 06:12:03 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-116-43.ams2.redhat.com [10.36.116.43]) by smtp.corp.redhat.com (Postfix) with ESMTP id AF2ED1001B03; Wed, 16 Oct 2019 06:12:02 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id E371F11AB5; Wed, 16 Oct 2019 08:12:01 +0200 (CEST) Date: Wed, 16 Oct 2019 08:12:01 +0200 From: Gerd Hoffmann To: Tomasz Figa Cc: Daniel Vetter , David Airlie , dri-devel , virtualization@lists.linux-foundation.org, Linux Kernel Mailing List , stevensd@chromium.org, =?utf-8?B?U3TDqXBoYW5l?= Marchesin , Zach Reizner , Keiichi Watanabe , Pawel Osciak Subject: Re: [RFC PATCH] drm/virtio: Export resource handles via DMA-buf API Message-ID: <20191016061201.iinqjcw6trx5qztq@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-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.45]); Wed, 16 Oct 2019 06:12:03 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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