diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2025-02-14 10:11:17 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-02-17 14:09:29 -0500 |
commit | 13d68ae651dab6d19e014c5be838481c679f1936 (patch) | |
tree | 4d6cae18416512d1e0b7f682ca45e3fd9afb6eb2 /drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c | |
parent | 196222dccb3e1f3defe85919ae9f00f6f4a3f4c4 (diff) | |
download | linux-13d68ae651dab6d19e014c5be838481c679f1936.tar.gz linux-13d68ae651dab6d19e014c5be838481c679f1936.tar.bz2 linux-13d68ae651dab6d19e014c5be838481c679f1936.zip |
drm/amdgpu/mes11: allocate hw_resource_1 buffer once
Allocate the buffer at sw init time so we don't alloc
and free it for every suspend/resume or reset cycle.
Reviewed-by: Shaoyun.liu <shaouyun.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c')
0 files changed, 0 insertions, 0 deletions