[PATCH 00/11] Etnaviv modifiers support

Lucas Stach l.stach at pengutronix.de
Fri Jun 23 15:50:17 UTC 2017


Hi all,

this series implements modifiers support for etnaviv. It is not meant for
merging yet, as it depends on unreleased libdrm changes and the renderonly
changes probably need some rework of the VC4 code, but I want to get
feedback before I go any further.

This series has been tested in various ways:
- exercising the gbm_surface_create_with_modifiers path by using a modifier
  enabled ksmcube and patched QT5, enabling tiled scanout on i.MX6QP
- a previous version of this series was tested with gbm_gralloc
- the dmabuf import/export with modifier paths were tested with Weston master
  and series "EGL/Wayland modifiers, format cleanup" from Daniel Stone,
  providing proper handling of tiled buffers on the Wayland platform.

So far things seem to look good. Feedback welcome.

Regards,
Lucas

Lucas Stach (11):
  etnaviv: fill in layer_stride for imported resources
  etnaviv: fix memory leak when BO allocation fails
  renderonly/etnaviv: stop importing resource from renderonly
  etnaviv: pad scanout buffer size to RS alignment
  etnaviv: increment correct seqno for external resources
  etnaviv: also update textures from external resources
  etnaviv: implement resource import with modifier
  etnaviv: fold etna_screen_bo_get_handle into etna_resource_get_handle
  etnaviv: fill in modifier in etna_resource_get_handle
  etnaviv: implement resource creation with modifier
  etnaviv: advertise supported dmabuf modifiers

 src/gallium/auxiliary/renderonly/renderonly.c    |  52 ++---
 src/gallium/auxiliary/renderonly/renderonly.h    |  20 +-
 src/gallium/drivers/etnaviv/etnaviv_clear_blit.c |   8 +-
 src/gallium/drivers/etnaviv/etnaviv_resource.c   | 248 ++++++++++++++++++++---
 src/gallium/drivers/etnaviv/etnaviv_resource.h   |   7 +-
 src/gallium/drivers/etnaviv/etnaviv_screen.c     |  55 +++--
 src/gallium/drivers/etnaviv/etnaviv_screen.h     |   4 -
 src/gallium/drivers/etnaviv/etnaviv_texture.c    |  25 ++-
 src/gallium/drivers/etnaviv/etnaviv_transfer.c   |   2 +-
 9 files changed, 310 insertions(+), 111 deletions(-)

-- 
2.11.0



More information about the etnaviv mailing list