All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gurchetan Singh <gurchetansingh@chromium.org>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: virtio-comment@lists.oasis-open.org,
	"Chia-I Wu" <olvaffe@gmail.com>,
	"Stéphane Marchesin" <marcheu@chromium.org>
Subject: [virtio-comment] Re: [RFC PATCH v2 1/2] virtio-gpu: add resource create blob
Date: Mon, 18 May 2020 11:48:26 -0700	[thread overview]
Message-ID: <CAAfnVBkPXPht9nk=soQADP778Kyboh_UoCzoU8YUay=ZAog3Ng@mail.gmail.com> (raw)
In-Reply-To: <20200518073430.nuexgtftn4tx3rts@sirius.home.kraxel.org>

On Mon, May 18, 2020 at 12:41 AM Gerd Hoffmann <kraxel@redhat.com> 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/


      reply	other threads:[~2020-05-18 18:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-07 23:24 [virtio-comment] [RFC PATCH v2 1/2] virtio-gpu: add resource create blob Gurchetan Singh
2020-05-07 23:24 ` [virtio-comment] [RFC PATCH v2 2/2] virtio-gpu: add support for mapping/unmapping blob resources Gurchetan Singh
2020-05-12 12:22 ` [virtio-comment] Re: [RFC PATCH v2 1/2] virtio-gpu: add resource create blob Gerd Hoffmann
2020-05-12 22:25   ` Gurchetan Singh
2020-05-13  7:03     ` Gerd Hoffmann
2020-05-13 23:14       ` Gurchetan Singh
2020-05-14  8:24         ` Gerd Hoffmann
2020-05-14 22:41           ` Gurchetan Singh
2020-05-15 10:38             ` Gerd Hoffmann
2020-05-15 22:05               ` Gurchetan Singh
2020-05-18  7:34                 ` Gerd Hoffmann
2020-05-18 18:48                   ` Gurchetan Singh [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAfnVBkPXPht9nk=soQADP778Kyboh_UoCzoU8YUay=ZAog3Ng@mail.gmail.com' \
    --to=gurchetansingh@chromium.org \
    --cc=kraxel@redhat.com \
    --cc=marcheu@chromium.org \
    --cc=olvaffe@gmail.com \
    --cc=virtio-comment@lists.oasis-open.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.