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)
commit9862def99d6fd007e73d9b7d8474ae18c1b4ce48
treeae5f10a29235a1693089c75d7e8ff4f207dc5b59
parent9ee8ecbb3eafeb1a899eaba1329ba3c4c092b754
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