[PATCH 00/13] Fix memory and firmware leaks

Alex Deucher alexdeucher at gmail.com
Thu Jun 2 14:39:00 UTC 2016


This patch set fixes several memory leaks and cases where
we forgot to release the firmware.

Monk Liu (13):
  drm/amdgpu: fix mem leak in smumgr
  drm/amdgpu: fix mem leak in pplib/hwmgr
  drm/amdgpu: fix mem leak in atombios
  drm/amdgpu: fix memleak in pptable_init
  drm/amdgpu: fix missing free wb for cond_exec
  drm/amdgpu: fix gfx8 ucode mem leak
  drm/amdgpu: fix gfx 7 ucode mem leak
  drm/amdgpu: fix uvd fini mem leak
  drm/amdgpu: fix sdma3 ucode mem leak
  drm/amdgpu: fix sdma24 ucode mem leak
  drm/amdgpu: fix cik sdma ucode memleak
  drm/amdgpu: fix fiji smu fini mem leak
  drm/amdgpu: fix tonga smu_fini mem leak

 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c         |  4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c           |  1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c            | 19 ++++----
 drivers/gpu/drm/amd/amdgpu/cik_sdma.c              | 11 +++++
 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c              | 17 +++++++
 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c              | 22 ++++++++-
 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c             | 10 ++++
 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c             | 10 ++++
 drivers/gpu/drm/amd/powerplay/amd_powerplay.c      |  8 +++-
 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c        |  7 +++
 .../amd/powerplay/hwmgr/tonga_processpptables.c    | 54 ++++++++++------------
 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c |  4 ++
 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c      |  1 +
 .../gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c    |  5 ++
 14 files changed, 132 insertions(+), 41 deletions(-)

-- 
2.5.5



More information about the dri-devel mailing list