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>
Thu, 31 Aug 2023 22:10:11 +0000 (18:10 -0400)
commit6d1b3455481a2cc1c6cd478770755c31e932130f
tree84480a563a70235957fb60cca22b2dd6ac9f6247
parente0c5c387ac608591c1ce60383b43a99b261483de
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