drm/amdgpu/psp: don't free PSP buffers on suspend
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 16 Nov 2022 16:26:53 +0000 (11:26 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Nov 2022 14:47:13 +0000 (09:47 -0500)
commit96e1a88fafe6a9afd371fadc0c7de41b883aaec9
tree12d678df79af008a350bbf7e6f40c88461948eec
parent33ac94dbdfd5f0fdd820c82ef930e20ad346a063
drm/amdgpu/psp: don't free PSP buffers on suspend

We can reuse the same buffers on resume.

v2: squash in S4 fix from Shikai

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2213
Reviewed-by: Christian König <christian.koenig@amd.com>
Tested-by: Guilherme G. Piccoli <gpiccoli@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c