dmabuf: add y0_top, pass it to spice
commit242d01336d6e706a26f5370464902a3f8ceba222
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 13 Jul 2018 13:08:51 +0000 (13 15:08 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 24 Aug 2018 06:40:11 +0000 (24 08:40 +0200)
tree88da578d1291c2c05e0050faeb7852865be830da
parent949ed4c227395473cdd3748cc62f4e96bfc9c142
dmabuf: add y0_top, pass it to spice

Some scanouts during boot are top-down without it.

y0_top is set from VHOST_USER_GPU_DMABUF_SCANOUT code path in the last
patch of this series.

In current QEMU code base, only vfio/display uses dmabuf API. But the
VFIO query interface doesn't provide or need that detail so far.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20180713130916.4153-5-marcandre.lureau@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
include/ui/console.h
ui/spice-display.c