[RFC v2 00/13] DRI3 v1.1: modifiers and multi-plane

Louis-Francis Ratté-Boulianne lfrb at collabora.com
Fri Jul 14 04:47:47 UTC 2017


Hi,

For context, please refer to last submission email:
https://lists.x.org/archives/xorg-devel/2017-June/053854.html

This new revision should fix comments made by Michel Dänzer and
Emil Velikov. The main differences are:

 - Keep the old pixmap_from_fd and fd_from_pixmap hooks so
   out-of-branch drivers can still work.
 - UAPI struct declaration is no longer included, we rely on
   the relevent header file to be shipped by libdrm once the
   kernel get support for formats/modifiers blob.
 - Patches are cleaner and should be easier to review.
 - Plus a lot of small fixes proposed by Emil.

There are still some FIXME and questions in there. Any opinion
about those is welcome.

Daniel Stone (1):
  Build: Use dri3proto CFLAGS

Louis-Francis Ratté-Boulianne (12):
  dri3: Add multi-planar/modifier buffer requests
  glamor: Implement PixmapFromBuffers and BuffersFromPixmap
  glamor: Implement GetSupportedFormats and GetSupportedModifiers
  dri3: Enable DRI3 version 1.1
  glamor: Use gbm_bo_create_with_modifiers for internal pixmap
    allocation
  modesetting: Add helper functions to retrieve DRM properties
  modesetting: Use atomic modesetting API for pageflip if available
  modesetting: Ignore CRTC_ID property in RandR properties
  modesetting: Add support for multi-plane pixmaps when page-flipping
  modesetting: Use atomic modesetting to configure output/CRTCs
  modesetting: Get supported formats/modifiers for scanout
  modesetting: Create scanout buffers using supported modifiers

 configure.ac                                     |   13 +
 dri3/dri3.c                                      |   92 ++
 dri3/dri3.h                                      |   47 +-
 dri3/dri3_priv.h                                 |   27 +-
 dri3/dri3_request.c                              |  448 +++++++++-
 dri3/dri3_screen.c                               |  173 +++-
 glamor/glamor.c                                  |   93 +-
 glamor/glamor.h                                  |   81 +-
 glamor/glamor_egl.c                              |  286 +++++-
 glamor/glamor_egl.h                              |   84 ++
 glamor/glamor_egl_ext.h                          |   65 ++
 glamor/glamor_egl_stubs.c                        |    7 +-
 glamor/glamor_priv.h                             |   10 +
 hw/xfree86/drivers/modesetting/driver.c          |    6 +
 hw/xfree86/drivers/modesetting/driver.h          |    1 +
 hw/xfree86/drivers/modesetting/drmmode_display.c | 1004 +++++++++++++++++++---
 hw/xfree86/drivers/modesetting/drmmode_display.h |   80 ++
 hw/xfree86/drivers/modesetting/pageflip.c        |   73 +-
 hw/xwayland/.gitignore                           |    2 +
 hw/xwayland/Makefile.am                          |    9 +-
 hw/xwayland/xwayland-glamor.c                    |  389 +++++++--
 hw/xwayland/xwayland.c                           |    6 +-
 hw/xwayland/xwayland.h                           |   19 +-
 include/dix-config.h.in                          |    9 +
 include/protocol-versions.h                      |    2 +-
 25 files changed, 2757 insertions(+), 269 deletions(-)
 create mode 100644 glamor/glamor_egl_ext.h

-- 
2.13.0



More information about the xorg-devel mailing list