drm/amdgpu: Allocate coredump memory in a nonblocking way
authorAndré Almeida <andrealmeid@igalia.com>
Thu, 17 Aug 2023 18:20:46 +0000 (15:20 -0300)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Aug 2023 19:51:16 +0000 (15:51 -0400)
commitd68ccdb26392f72f40848d84bf0b57a56a4e13ef
treeda69949880631c16d3083cb570f9a442ed09cbd6
parent1cb87e048975ce59dd2dcadff47002df64f95f72
drm/amdgpu: Allocate coredump memory in a nonblocking way

During a GPU reset, a normal memory reclaim could block to reclaim
memory. Giving that coredump is a best effort mechanism, it shouldn't
disturb the reset path. Change its memory allocation flag to a
nonblocking one.

Signed-off-by: André Almeida <andrealmeid@igalia.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c