Skip to content

Commit 8172f41

Browse files
mbrost05tursulin
authored andcommitted
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: 8b91cdd ("drm/i915: Use __GFP_KSWAPD_RECLAIM in the capture code") Signed-off-by: Matthew Brost <[email protected]> Reviewed-by: John Harrison <[email protected]> Signed-off-by: John Harrison <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit 4f72fc3) Signed-off-by: Tvrtko Ursulin <[email protected]>
1 parent 26291c5 commit 8172f41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/i915_gpu_error.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1522,7 +1522,7 @@ capture_engine(struct intel_engine_cs *engine,
15221522
struct i915_request *rq = NULL;
15231523
unsigned long flags;
15241524

1525-
ee = intel_engine_coredump_alloc(engine, GFP_KERNEL);
1525+
ee = intel_engine_coredump_alloc(engine, ALLOW_FAIL);
15261526
if (!ee)
15271527
return NULL;
15281528

0 commit comments

Comments
 (0)