drm/amdgpu: fix memory leak in mes self test

[ Upstream commit 31d7c3a4fc ]

The fences associated with mes queue have to be freed
up during amdgpu_ring_fini.

Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Jack Xiao 2023-04-21 14:20:38 +08:00 • committed by Greg Kroah-Hartman
commit 8d8c96efce