[Mesa-dev] [PATCH 0/3] panfrost: Fix a few memory leaks

Tomeu Vizoso tomeu.vizoso at collabora.com
Thu Jun 20 09:20:21 UTC 2019


Hi,

we often OOM when trying to run test suites as the leaks quickly
accumulate.

With these patches things get much better.

Thanks,

Tomeu

Tomeu Vizoso (3):
  panfrost: Move ra_regs to the screen context
  panfrost: Release transient pools
  panfrost: Allocate panfrost_job in panfrost_context

 .../drivers/panfrost/midgard/compiler.h       |   2 +
 .../panfrost/midgard/midgard_compile.c        |  13 +-
 .../panfrost/midgard/midgard_compile.h        |  17 ++-
 .../drivers/panfrost/midgard/midgard_ra.c     | 116 ++++++++++--------
 .../panfrost/midgard/midgard_schedule.c       |   1 +
 src/gallium/drivers/panfrost/pan_assemble.c   |   6 +-
 .../drivers/panfrost/pan_blend_shaders.c      |   5 +-
 src/gallium/drivers/panfrost/pan_context.c    |   8 +-
 src/gallium/drivers/panfrost/pan_job.c        |   2 +-
 src/gallium/drivers/panfrost/pan_screen.c     |   1 +
 src/gallium/drivers/panfrost/pan_screen.h     |   2 +
 11 files changed, 112 insertions(+), 61 deletions(-)

-- 
2.20.1



More information about the mesa-dev mailing list