[PATCH 0/6] etnaviv transfer handling improvements

Lucas Stach l.stach at pengutronix.de
Fri May 19 09:41:06 UTC 2017


Hi guys!

So I've looked a bit at our transfer functions, as they are causing significant
CPU/GPU syncs in some workloads, which I would like to kill.

This patch series is the first step in that direction. It fixes one bug, cleans
up the code a bit, to make it easier to follow and implements some handling for
the easy "make things faster" flags.

Regards,
Lucas

Lucas Stach (6):
  etnaviv: always do cpu_fini in transfer_unmap
  etnaviv: slim down resource waiting
  etnaviv: honor PIPE_TRANSFER_UNSYNCHRONIZED flag
  etnaviv: don't read back resource if transfer discards contents
  etnaviv: simplify transfer tiling handling
  etnaviv: upgrade DISCARD_RANGE to DISCARD_WHOLE_RESOURCE if possible

 src/gallium/drivers/etnaviv/etnaviv_clear_blit.c |   5 +-
 src/gallium/drivers/etnaviv/etnaviv_resource.c   |  16 ---
 src/gallium/drivers/etnaviv/etnaviv_resource.h   |   3 -
 src/gallium/drivers/etnaviv/etnaviv_transfer.c   | 122 ++++++++++++-----------
 4 files changed, 67 insertions(+), 79 deletions(-)

-- 
2.11.0



More information about the etnaviv mailing list