]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu: fix ordering of psp suspend
authorAlex Deucher <alexdeucher@gmail.com>
Thu, 6 Aug 2020 14:49:39 +0000 (10:49 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Aug 2020 11:07:44 +0000 (13:07 +0200)
commitd0b3df5fdc668c07bb47cb3082124eb823066141
tree886aa5a49c8690d673f7491eba8472328b7dfd6b
parentcb22808ac2759706a410d89e1219de611a3b2fe4
drm/amdgpu: fix ordering of psp suspend

The ordering of psp_tmr_terminate() and psp_asd_unload()
got reversed when the patches were applied to stable.

This patch does not exist in Linus' tree because the ordering
is correct there.  It got reversed when the patches were applied
to stable.  This patch is for stable only.

Fixes: 22ff658396b446 ("drm/amdgpu: asd function needs to be unloaded in suspend phase")
Fixes: 2c41c968c6f648 ("drm/amdgpu: add TMR destory function for psp")
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 5.7.x
Cc: Huang Rui <ray.huang@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c