]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu:fix memleak
authorMonk Liu <Monk.Liu@amd.com>
Tue, 14 Nov 2017 08:55:14 +0000 (16:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Nov 2017 18:36:24 +0000 (13:36 -0500)
commit247ad85ccc264e5c14b51b72fd5f408372166416
treeae5f10a29235a1693089c75d7e8ff4f207dc5b59
parent5ca099409fffa60fda247ff84f16cfc419bd48e4
drm/amdgpu:fix memleak

those RLC used buffers are not cleared in GFX's sw_fini

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c