drm/i915: Allocate intel_engine_coredump_alloc with ALLOW_FAIL
authorMatthew Brost <matthew.brost@intel.com>
Fri, 21 Jan 2022 04:31:16 +0000 (20:31 -0800)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Mon, 31 Jan 2022 09:34:50 +0000 (09:34 +0000)
commit8172f41859cf7516e73eb957297e6752b3073119
tree27e0bc32002f33be769c9754a1b2b2e6272ad011
parent26291c54e111ff6ba87a164d85d4a4e134b7315c
drm/i915: Allocate intel_engine_coredump_alloc with ALLOW_FAIL

Allocate intel_engine_coredump_alloc with ALLOW_FAIL rather than
GFP_KERNEL to fully decouple the error capture from fence signalling.

v2:
 (John Harrison)
  - Fix typo in commit message (s/do/to)

Fixes: 8b91cdd4f8649 ("drm/i915: Use __GFP_KSWAPD_RECLAIM in the capture code")
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220121043118.24886-2-matthew.brost@intel.com
(cherry picked from commit 4f72fc3c7f3d9f29a438bb0e17c7773f2fc8242a)
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
drivers/gpu/drm/i915/i915_gpu_error.c