diff options
author | Christian König <christian.koenig@amd.com> | 2022-11-16 15:45:36 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-12-14 09:48:04 -0500 |
commit | 4d2ccd96ac25846749fc58691f5142a966e65b3a (patch) | |
tree | e220ec039536a0a2c651bea919191bfee1e5269f /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | |
parent | 9c3db58bf8f7d0007049f686ce8c419eed4325d1 (diff) |
drm/amdgpu: WARN when freeing kernel memory during suspend
When buffers are freed during suspend there is no guarantee that
they can be re-allocated during resume.
The PSP subsystem seems to be quite buggy regarding this, so add
a WARN_ON() to point out those bugs.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexdeucher@amd.com>
Tested-by: Guilherme G. Piccoli <gpiccoli@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
0 files changed, 0 insertions, 0 deletions