drm/amdgpu: fix memory leak in mes self test
authorJack Xiao <Jack.Xiao@amd.com>
Fri, 21 Apr 2023 06:20:38 +0000 (14:20 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 24 Apr 2023 22:16:02 +0000 (18:16 -0400)
commit31d7c3a4fc3d312a0646990767647925d5bde540
tree1a06762c3ab7b1fba319824ba37aa00c80d9f3f4
parent89d8445e4f5cfaf5c017c0bafb05f8bbaac59bf9
drm/amdgpu: fix memory leak in mes self test

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>
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c