Commit f3e10e1a authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu/mes12: 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: default avatarShaoyun.liu <shaouyun.liu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 13d68ae6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment