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:46:04 +0000 (22:46 -0500)
commit8f32378986218812083b127da5ba42d48297d7c4
treee17630831d62a86a6671e23a221ac9b74deec64a
parentceaa837f96adb69c0df0397937cd74991d5d821a
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>
Cc: stable@vger.kernel.org # 6.1.x
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c