]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerJohn Harrison <John.C.Harrison@Intel.com>
Fri, 21 Jan 2022 23:46:41 +0000 (15:46 -0800)
commit2ebf7b4e4cf3736e1f04b1169382032b0470605b
tree146a0887aaad90a7bf8321aac68d92f3a48b5e49
parentcb1a4587b7a3e1620ab217fef1ff47c0f9d6c91b
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: f0c6a4af9015e ("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
drivers/gpu/drm/i915/i915_gpu_error.c