mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Noralf Trønnes" <noralf@tronnes.org>
To: Gerd Hoffmann <kraxel@redhat.com>, dri-devel@lists.freedesktop.org
Cc: David Airlie <airlied@linux.ie>,
	open list <linux-kernel@vger.kernel.org>,
	"open list:VIRTIO GPU DRIVER" 
	<virtualization@lists.linux-foundation.org>
Subject: Re: [PATCH 3/3] drm/virtio: implement prime export
Date: Wed, 27 Feb 2019 18:11:47 +0100	[thread overview]
Message-ID: <733f4cdd-1141-54c4-a1f4-ceb8cd4356ed@tronnes.org> (raw)
In-Reply-To: <20190227144441.6755-4-kraxel@redhat.com>



Den 27.02.2019 15.44, skrev Gerd Hoffmann:
> Just run drm_prime_pages_to_sg() on the ttm pages list to get an
> sg_table for export.  The pages list is created at object initialization
> time, so there should be no need to handle an unpopulated page list.
> Add a sanity check nevertheless.
> 
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>

Acked-by: Noralf Trønnes <noralf@tronnes.org>

      reply	other threads:[~2019-02-27 17:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20190227144441.6755-1-kraxel@redhat.com>
2019-02-27 14:44 ` [PATCH 1/3] drm/virtio: implement prime mmap Gerd Hoffmann
2019-02-27 17:11   ` Noralf Trønnes
2019-02-27 14:44 ` [PATCH 2/3] drm/virtio: implement prime pin/unpin Gerd Hoffmann
2019-02-27 17:07   ` Noralf Trønnes
2019-02-27 14:44 ` [PATCH 3/3] drm/virtio: implement prime export Gerd Hoffmann
2019-02-27 17:11   ` Noralf Trønnes [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=733f4cdd-1141-54c4-a1f4-ceb8cd4356ed@tronnes.org \
    --to=noralf@tronnes.org \
    --cc=airlied@linux.ie \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=kraxel@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=virtualization@lists.linux-foundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®