drm/amd/amdgpu: fix warning during suspend
authorJack Xiao <Jack.Xiao@amd.com>
Fri, 10 Feb 2023 02:31:32 +0000 (10:31 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Feb 2023 03:19:43 +0000 (22:19 -0500)
commitdc907c9db8f71e3ba5faad6038f089a70d18e71f
treefda3a88e80f35587fe32c84f99643f3176d602e2
parent35f33086b1b9cf5d85f55b36c75b92f8cccfbf12
drm/amd/amdgpu: fix warning during suspend

Freeing memory was warned during suspend.
Move the self test out of suspend.

Link: https://bugzilla.redhat.com/show_bug.cgi?id=2151825
Cc: jfalempe@redhat.com
Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Reviewed-and-tested-by: Evan Quan <evan.quan@amd.com>
Tested-by: Jocelyn Falempe <jfalempe@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c