[Mesa-dev] [PATCH v3 00/14] i965: Add support for I916_FORMAT_MOD_Y_TILED_CCS

Jason Ekstrand jason at jlekstrand.net
Thu Jul 13 04:23:11 UTC 2017


This is yet another respin of the patch series to enable the CCS_E format
modifier.  Most of v2 has been pushed and this contains the bits that still
need review.  Fortunately, the series gets shorter each time I send it!

Most of the fixes are from review comments by Chad.  Six of the fourteen
patches are new.  However, all of the new patches are fairly straight-
forward and shouldn't take significant effort to review.  The series can be
found here:

https://cgit.freedesktop.org/~jekstrand/mesa/log/?h=review/i965-ccs-mod-v3

Happy Reviewing!

Ben Widawsky (4):
  i965: Support images with aux buffers
  i965/miptree: Allocate mcs_buf for an image's CCS
  i965: Pretend that CCS modified images are two planes
  i965: Advertise the CCS modifier

Jason Ekstrand (10):
  i965/miptree: Gather initial aux allocation into a single function
  i965/miptree: Allocate HiZ up-front
  i965/miptree: Replace is_lossless_compressed with mt->aux_usage checks
  i965/bufmgr: Add a BO_ALLOC_ZEROED flag
  i965/screen: Allocate ZEROED BOs for images
  i965/miptree: Use BO_ALLOC_ZEROED for CCS_E buffers
  intel/isl: Add support for I915_FORMAT_MOD_Y_TILED_CCS
  intel/isl: Add a row_pitch parameter to surf_get_ccs_surf
  i965/screen: Support import and export of surfaces with CCS
  i965/miptree: More conservatively resolve external images

 src/intel/isl/isl.c                              |   4 +-
 src/intel/isl/isl.h                              |   9 +-
 src/intel/isl/isl_drm.c                          |  11 +
 src/intel/vulkan/anv_image.c                     |   2 +-
 src/mesa/drivers/dri/i965/brw_blorp.c            |   2 +-
 src/mesa/drivers/dri/i965/brw_bufmgr.c           |  28 ++-
 src/mesa/drivers/dri/i965/brw_bufmgr.h           |   1 +
 src/mesa/drivers/dri/i965/brw_context.c          |   2 +-
 src/mesa/drivers/dri/i965/brw_draw.c             |   2 +-
 src/mesa/drivers/dri/i965/brw_wm_surface_state.c |   4 +-
 src/mesa/drivers/dri/i965/intel_fbo.c            |   6 -
 src/mesa/drivers/dri/i965/intel_image.h          |   6 +
 src/mesa/drivers/dri/i965/intel_mipmap_tree.c    | 297 +++++++++++++++--------
 src/mesa/drivers/dri/i965/intel_mipmap_tree.h    |  14 +-
 src/mesa/drivers/dri/i965/intel_screen.c         | 146 ++++++++---
 15 files changed, 392 insertions(+), 142 deletions(-)

-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list