Hi all, Thanks for the reviews on v13, here's a new iteration of the egl modifiers series.
The notable changes since v13 was sent by Daniel include: * All dmabuf related functions in DRIimageExtension are now added under the same version bump. * Since modifier queries on a DRIimage can be handled via the winsys handle on gallium, st/DRIimage no longer has a modifiers field, and pscreen->resource_create_with_modifiers() does not need to return the driver-selected modifier anymore. Thanks Lucas for suggesting this option. * I have dropped the gallium multiplane import-refactor patch from this series. Since not all gallium drivers would want to import a resource in the same way (eg. etnaviv would rather sample a YUYV image as a single pipe_resouce, while some other driver might consume it as multiple overlapping resources with RG88/RGBA8888 samplers), it is incorrect to assume that we can get away with this without taking the driver's vote into account, and we can move this out of the modifiers series. * Stricter error checks all over, style fixes etc. Ben Widawsky (16): i965: Support images with offset aux buffers i965/miptree: Add a helper function for image creation i965/miptree: Allocate mcs_buf for an image's CCS_E i965: Restructure CCS disabling 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: 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 Daniel Stone (3): i965: Improve same-buffer restriction for imports i965: Invert image modifier/tiling inference i965: Add tiling mode to BO import Pekka Paalanen (2): egl: introduce DMA_BUF_MAX_PLANES egl/main: add support for fourth plane tokens Varad Gautam (15): dri: introduce dmabuf format modifier related handles egl/dri2: Create EGLImages with dmabuf modifiers egl: implement eglQueryDmaBufFormatsEXT egl: implement eglQueryDmaBufModifiersEXT egl: advertise EGL_EXT_image_dma_buf_import_modifiers gallium/winsys/drm: introduce modifier field to winsys_handle st/dri: enable DRIimage modifier queries st/dri: implement createImageWithModifiers in DRIimage st/dri: implement DRIimage creation from dmabufs with modifiers st/dri: support format queries gallium: introduce format modifier querying st/dri: support format modifier queries i965: add a no_aux field to identify buffers without aux data i965: Support dmabuf import with modifiers i965: Add format/modifier advertising include/GL/internal/dri_interface.h | 63 +++- src/egl/drivers/dri2/egl_dri2.c | 179 ++++++++++- src/egl/main/eglapi.c | 39 +++ src/egl/main/eglapi.h | 9 + src/egl/main/egldisplay.h | 1 + src/egl/main/eglentrypoint.h | 2 + src/egl/main/eglimage.c | 66 ++++ src/egl/main/eglimage.h | 13 +- src/gallium/include/pipe/p_screen.h | 29 ++ src/gallium/include/state_tracker/drm_driver.h | 6 + src/gallium/state_trackers/dri/dri2.c | 260 ++++++++++++++- src/mesa/drivers/dri/i965/brw_blorp.c | 14 +- src/mesa/drivers/dri/i965/brw_blorp.h | 3 +- src/mesa/drivers/dri/i965/brw_bufmgr.c | 12 +- src/mesa/drivers/dri/i965/brw_bufmgr.h | 3 +- src/mesa/drivers/dri/i965/brw_context.c | 56 +++- src/mesa/drivers/dri/i965/intel_fbo.c | 17 +- src/mesa/drivers/dri/i965/intel_image.h | 3 + src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 175 ++++++++--- src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 29 +- src/mesa/drivers/dri/i965/intel_screen.c | 418 +++++++++++++++++++++---- src/mesa/drivers/dri/i965/intel_tex_image.c | 17 +- 22 files changed, 1229 insertions(+), 185 deletions(-) -- 2.10.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev