From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: virtio-comment-return-1264-cohuck=redhat.com@lists.oasis-open.org Sender: List-Post: List-Help: List-Unsubscribe: List-Subscribe: Received: from lists.oasis-open.org (oasis-open.org [10.110.1.242]) by lists.oasis-open.org (Postfix) with ESMTP id 8B051985F3B for ; Mon, 18 May 2020 18:48:42 +0000 (UTC) MIME-Version: 1.0 References: <20200507232436.1540-1-gurchetansingh@chromium.org> <20200512122220.znxa47meycvkc6j5@sirius.home.kraxel.org> <20200513070344.lygzol7xohxzb4y3@sirius.home.kraxel.org> <20200514082449.gg2u6ltixbvmtplp@sirius.home.kraxel.org> <20200515103848.cabaudxhbjxbxbsg@sirius.home.kraxel.org> <20200518073430.nuexgtftn4tx3rts@sirius.home.kraxel.org> In-Reply-To: <20200518073430.nuexgtftn4tx3rts@sirius.home.kraxel.org> From: Gurchetan Singh Date: Mon, 18 May 2020 11:48:26 -0700 Message-ID: Subject: [virtio-comment] Re: [RFC PATCH v2 1/2] virtio-gpu: add resource create blob Content-Type: text/plain; charset="UTF-8" To: Gerd Hoffmann Cc: virtio-comment@lists.oasis-open.org, Chia-I Wu , =?UTF-8?Q?St=C3=A9phane_Marchesin?= List-ID: On Mon, May 18, 2020 at 12:41 AM Gerd Hoffmann wrote: > > > > > > same goes for dma-buf imports (inside the guest). > > > > > > > > dma-buf import from another virtio driver is very interesting, but > > > > we'll probably need a some import UUID hypercall for that? > > > > > > No, just dma-buf import from somewhere, say a gpu passed to the guest > > > via pci pass-through does the rendering to a dma-buf and that dmabuf > > > gets imported into virtio-gpu for display in a host window. > > > > I'm unfamiliar with that use case ... is there a chance the dma-buf is > > compressed/tiled? > > Hmm, not fully sure but probably not. I'd expect gpu drivers would > untile the BO when exporting to another driver because tiling modes > are typically hard-ware specific ... Okay, kept the modifier out of SCANOUT_BLOB in v4 as we expect it will not be used for the pass through case. > > > If so, we won't be able to query virglrenderer for the modifier and > > may need it in SCANOUT_BLOB unless there's another way to get it > > host-side. > > No, there is no other magic way. Userspace has to tell virtio-gpu what > format the dma-buf data has if it wants virtio-gpu do something with it, > the dma-buf itself is just a blob. > > take care, > Gerd > This publicly archived list offers a means to provide input to the OASIS Virtual I/O Device (VIRTIO) TC. In order to verify user consent to the Feedback License terms and to minimize spam in the list archive, subscription is required before posting. Subscribe: virtio-comment-subscribe@lists.oasis-open.org Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org List help: virtio-comment-help@lists.oasis-open.org List archive: https://lists.oasis-open.org/archives/virtio-comment/ Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists Committee: https://www.oasis-open.org/committees/virtio/ Join OASIS: https://www.oasis-open.org/join/