[Mesa-dev] [PATCH 00/34] [v3] Renderbuffer Decompression (and GBM modifiers)

Ben Widawsky ben at bwidawsk.net
Tue Jan 24 06:18:59 UTC 2017


I've merged the first few patches from v2. I'd like to merge the GBM stuff at
least this time around. Most of it has review but enough has changed that it
probably needs eyes on it all again.

Here is the branch:
https://cgit.freedesktop.org/~bwidawsk/mesa/log/?h=modifiers

Since v2 I've gotten GET_PLANE2 working as well. It can be demonstrated in
kmscube:
https://github.com/bwidawsk/kmscube/tree/modifiers

Cc: Kristian H. Kristensen <hoegsberg at gmail.com>
Cc: Daniel Stone <daniel at fooishbar.org>
Cc: Eric Engestrom <eric at engestrom.ch>
Cc: Jason Ekstrand <jason at jlekstrand.net>

Ben Widawsky (34):
  gbm: Move getters to match order in header file (trivial)
  gbm: Fix width height getters return type (trivial)
  gbm: Export a plane getter function
  gbm: Export a getter for per plane handles
  gbm: Create a gbm_device getter for stride
  gbm: Export a per plane getter for stride
  gbm: Export a per plane getter for offset
  i965/dri: Store the screen associated with the image
  dri: Add an image creation with modifiers
  gbm: Introduce modifiers into surface/bo creation
  i965: Handle the linear fb modifier
  i965: Handle Y-tile modifier
  i965: Handle X tiled modifier
  gbm: Get modifiers from DRI
  i965: Bump the image extension version number
  i965: Separate image allocation with modifiers
  i965: Support images with offset aux buffers
  i965/miptree: Add a helper functions for image creation
  i965/miptree: Allocate mcs_buf for an image's CCS_E
  i965: Restructure CCS disable
  i965: Support all known modifiers
  i965: Allocate tile aligned height
  i965: Add logic for allocating BO with CCS
  i965/miptree: Add a return for updating of winsys
  i965/miptree: Allocate mt earlier in update winsys
  i965: Pretend that CCS modified images are two planes
  i965: Make CCS stride match kernel's expectations
  i965: Change resolve flags to enum
  i965: Plumb resolve hints from miptrees to blorp
  i965: Add new resolve hints full and partial
  i965: Use partial resolves for CCS buffers being scanned out
  i965/miptree: Remove dead code assertion
  i965: Remove scanout restriction from lossless compression
  i965: Handle compression modifier

 include/GL/internal/dri_interface.h           |  27 ++-
 src/egl/drivers/dri2/platform_drm.c           |  19 +-
 src/gallium/state_trackers/dri/dri2.c         |   1 +
 src/gbm/backends/dri/gbm_dri.c                | 208 +++++++++++++++++++-
 src/gbm/gbm-symbols-check                     |   7 +
 src/gbm/main/gbm.c                            | 132 +++++++++++--
 src/gbm/main/gbm.h                            |  27 +++
 src/gbm/main/gbmint.h                         |  17 +-
 src/mesa/drivers/dri/i965/brw_blorp.c         |  14 +-
 src/mesa/drivers/dri/i965/brw_blorp.h         |   3 +-
 src/mesa/drivers/dri/i965/brw_context.c       |  53 ++++--
 src/mesa/drivers/dri/i965/intel_fbo.c         |  17 +-
 src/mesa/drivers/dri/i965/intel_image.h       |   5 +
 src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 158 +++++++++++----
 src/mesa/drivers/dri/i965/intel_mipmap_tree.h |  29 ++-
 src/mesa/drivers/dri/i965/intel_screen.c      | 265 ++++++++++++++++++++++++--
 src/mesa/drivers/dri/i965/intel_tex_image.c   |  17 +-
 17 files changed, 870 insertions(+), 129 deletions(-)

-- 
2.11.0



More information about the mesa-dev mailing list