[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 2/5] console: add dmabuf modifier field.
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PULL 2/5] console: add dmabuf modifier field. |
Date: |
Fri, 7 Jun 2019 15:18:58 +0200 |
dmabufs can have a format modifier (DRM_FORMAT_MOD_*) which is used for
tiled layouts for example. Add a field to QemuDmaBuf so we can carry
around that information.
Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Message-id: address@hidden
---
include/ui/console.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/ui/console.h b/include/ui/console.h
index fef900db76a5..f9816968487c 100644
--- a/include/ui/console.h
+++ b/include/ui/console.h
@@ -175,6 +175,7 @@ typedef struct QemuDmaBuf {
uint32_t height;
uint32_t stride;
uint32_t fourcc;
+ uint64_t modifier;
uint32_t texture;
bool y0_top;
} QemuDmaBuf;
--
2.18.1
- [Qemu-devel] [PULL 0/5] Ui 20190607 patches, Gerd Hoffmann, 2019/06/07
- [Qemu-devel] [PULL 4/5] egl-helpers: add modifier support to egl_get_fd_for_texture()., Gerd Hoffmann, 2019/06/07
- [Qemu-devel] [PULL 3/5] vfio/display: set dmabuf modifier field, Gerd Hoffmann, 2019/06/07
- [Qemu-devel] [PULL 1/5] ui/curses: Fix build with -m32, Gerd Hoffmann, 2019/06/07
- [Qemu-devel] [PULL 2/5] console: add dmabuf modifier field.,
Gerd Hoffmann <=
- [Qemu-devel] [PULL 5/5] egl-helpers: add modifier support to egl_dmabuf_import_texture(), Gerd Hoffmann, 2019/06/07
- Re: [Qemu-devel] [PULL 0/5] Ui 20190607 patches, Peter Maydell, 2019/06/07