Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp7233863ybp; Wed, 16 Oct 2019 05:54:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqxsqUOQmeMCDrK/rf5zO18DpPTCj3zIUgP2VAzZoizCDjiqYbRUogstPBAOkJzw843HrzfC X-Received: by 2002:a17:906:6a54:: with SMTP id n20mr40051648ejs.30.1571230484226; Wed, 16 Oct 2019 05:54:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571230484; cv=none; d=google.com; s=arc-20160816; b=BIF9sX11I2ay1MOH7RTA8jZiisGwABapgt4DJNVFpLk16FdhfsvBYyFcw+xFuSr4NU nfn03nA7eAep0FNLnnrQZ+lYmsVkQsfTpMDqJ3baK6CRBIzWiDjeG1meVb2aRjNVLj2m TgCHmhPHQNBu6Uju+Pd1yexMoJT/cte3x3rsflBsesTt1icwa8COWHMpLicrALn44Fnp iD/FBRteuSxLcvcP24/Vs0lkeNWpM+E6ZlecFYB3mYPm8qoj6INJ7Ae4rLJmzhhfzntM KeFR67toVR92Y58JqTo1NQHPEXHMwvAK7HGkxA3ZJu6kjjCyJkAWnQZJjVZlAg2HPVWI z3mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=hIVVy6cMJGB/802PPmCv+d212rxtmpqIPcdcqOUFqaw=; b=t5Ixx0hE0ToW+MMixlZFuCApTZ4cGy4vBhDj3RThrJo8cZ4ltEJ55kJ8cCxkF2sbIU r1hO6ddB3FwJaH1qrZrDYSEwr8OjBI/bqfycNM2G0nl+/VqFqu4+Trm0uGHh1VjkYiuZ S7RzP/a2oA7Gkmf00jXpVlpTiRv3sF0EsoHOaSrZ8t+13BqaK593tlvTd8pVJfK1/kg+ jjaJ3693i8KmJ7yoAt+9e1pqTXyYvecZSidXn4jpGUsyyPBAXNCV5G9gzSfWJvabl/6Z aCKZbaEnq5TvG4W/22nG5R9tFk3SsL57Tua1JEnc6lePKMywEa2UOvG6TzMpZXwSpvHv KGMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=VvfuWund; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y47si17569199edd.236.2019.10.16.05.54.21; Wed, 16 Oct 2019 05:54:44 -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; dkim=pass header.i=@chromium.org header.s=google header.b=VvfuWund; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391637AbfJPI1W (ORCPT + 99 others); Wed, 16 Oct 2019 04:27:22 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:40781 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729709AbfJPI1W (ORCPT ); Wed, 16 Oct 2019 04:27:22 -0400 Received: by mail-ed1-f66.google.com with SMTP id v38so20603204edm.7 for ; Wed, 16 Oct 2019 01:27:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hIVVy6cMJGB/802PPmCv+d212rxtmpqIPcdcqOUFqaw=; b=VvfuWundF+ym1IvwwPUppv/LB2L6Z21+F3nWhnuESRQu/dDkWkWnxN0HOvt5o37maW N782ZuvA6/DkOtFY9J/AVKwZM2Nn7izbDjEItH/mnqH72fr1AqBGLm+iAvRBRvnsyG1Y Nx9XjRhpxAQnyGW6SpPO85uINTa/rxfc30qNE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hIVVy6cMJGB/802PPmCv+d212rxtmpqIPcdcqOUFqaw=; b=b9Ji4OaixAwD+Va8zXJnODvMzFheOkr2VraJ8UQoumHzzQA5osDU/gEjA4MSRRAX6U NyRy2tRAFMhKKkJLiiTSTL/vSG1+kDwGn0XhLyDEMvbZJKOZ82xjm0jvG8bfyNV6OrHl aEZtJ8LuGSjjy2EF2EqErd3l0T2ZeiIUfw+VWf9TvzTOoJ5zOeUa8DolXLJIXROVwLLM n3KvH3LWiKen91G8AFNkn1EHkTlHuhUwMUAdjNuU1p5nUg9i8uDljl/gw5yCTuJYZdTQ 1YwulrGPuuVz9nTQ3NigQ4t9WY9TxqzqxmLrtBHRdMsfvt7HXgWq2cpp4ip+5645UR8e shYw== X-Gm-Message-State: APjAAAXA5qJDznWElumszFid8mY+ljzUcas+AXM5/A5YHRtyQZgzDhg9 aFxnYETf3u+KU3K0xC9cyFd9Hg0kfOJMiA== X-Received: by 2002:a05:6402:12ca:: with SMTP id k10mr37852431edx.91.1571214439353; Wed, 16 Oct 2019 01:27:19 -0700 (PDT) Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com. [209.85.221.49]) by smtp.gmail.com with ESMTPSA id f26sm4044510edb.55.2019.10.16.01.27.16 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 16 Oct 2019 01:27:18 -0700 (PDT) Received: by mail-wr1-f49.google.com with SMTP id j11so26954482wrp.1 for ; Wed, 16 Oct 2019 01:27:16 -0700 (PDT) X-Received: by 2002:adf:f3c9:: with SMTP id g9mr1541264wrp.7.1571214436369; Wed, 16 Oct 2019 01:27:16 -0700 (PDT) MIME-Version: 1.0 References: <20190912094121.228435-1-tfiga@chromium.org> <20190917132305.GV3958@phenom.ffwll.local> <20191008100328.GN16989@phenom.ffwll.local> <20191008150435.GO16989@phenom.ffwll.local> <20191016061201.iinqjcw6trx5qztq@sirius.home.kraxel.org> In-Reply-To: <20191016061201.iinqjcw6trx5qztq@sirius.home.kraxel.org> From: Tomasz Figa Date: Wed, 16 Oct 2019 17:27:04 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH] drm/virtio: Export resource handles via DMA-buf API To: Gerd Hoffmann Cc: Daniel Vetter , David Airlie , dri-devel , virtualization@lists.linux-foundation.org, Linux Kernel Mailing List , stevensd@chromium.org, =?UTF-8?Q?St=C3=A9phane_Marchesin?= , Zach Reizner , Keiichi Watanabe , Pawel Osciak Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 16, 2019 at 3:12 PM Gerd Hoffmann wrote: > > 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. Good to know, thanks. Best regards, Tomasz