From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVDlD-0005s3-21 for qemu-devel@nongnu.org; Tue, 19 Jun 2018 06:21:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVDlC-0005nZ-B7 for qemu-devel@nongnu.org; Tue, 19 Jun 2018 06:21:15 -0400 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]:43764) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVDlC-0005nK-4B for qemu-devel@nongnu.org; Tue, 19 Jun 2018 06:21:14 -0400 Received: by mail-wr0-x243.google.com with SMTP id d2-v6so19928557wrm.10 for ; Tue, 19 Jun 2018 03:21:13 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20180619062158.xreqany3tlnpmzn6@sirius.home.kraxel.org> References: <20180618161729.334-1-marcandre.lureau@redhat.com> <20180618161729.334-4-marcandre.lureau@redhat.com> <20180619062158.xreqany3tlnpmzn6@sirius.home.kraxel.org> From: =?UTF-8?B?TWFyYy1BbmRyw6kgTHVyZWF1?= Date: Tue, 19 Jun 2018 12:21:12 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v3 03/26] dmabuf: add y0_top, pass it to spice List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: QEMU Hi On Tue, Jun 19, 2018 at 8:21 AM, Gerd Hoffmann wrote: > On Mon, Jun 18, 2018 at 06:17:06PM +0200, Marc-Andr=C3=A9 Lureau wrote: >> Some scanouts during boot are top-down without this. >> >> Signed-off-by: Marc-Andr=C3=A9 Lureau >> --- >> include/ui/console.h | 1 + >> ui/spice-display.c | 3 ++- >> 2 files changed, 3 insertions(+), 1 deletion(-) >> >> diff --git a/include/ui/console.h b/include/ui/console.h >> index 981b519dde..fb969caf70 100644 >> --- a/include/ui/console.h >> +++ b/include/ui/console.h >> @@ -186,6 +186,7 @@ struct QemuDmaBuf { >> uint32_t stride; >> uint32_t fourcc; >> uint32_t texture; >> + bool y0_top; >> }; >> >> typedef struct DisplayChangeListenerOps { > > Looks incomplete, who sets y0_top? It is set from VHOST_USER_GPU_DMABUF_SCANOUT code path in the last patch. In current qemu code base, only vfio/display uses dmabuf API. But the VFIO query interface doesn't provide or need that detail. --=20 Marc-Andr=C3=A9 Lureau