diff options
author | John Harrison <[email protected]> | 2023-01-26 16:28:35 -0800 |
---|---|---|
committer | John Harrison <[email protected]> | 2023-01-27 13:01:16 -0800 |
commit | d1c3717501bcf56536e8b8c1bdaf5cd5357f6bb2 (patch) | |
tree | b3952e1a7fc13f0e1d6cf8ee001e289d1fe84168 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 99343c46d4e2b34c285d3d5f68ff04274c2f9fb4 (diff) |
drm/i915/guc: Fix locking when searching for a hung request
intel_guc_find_hung_context() was not acquiring the correct spinlock
before searching the request list. So fix that up. While at it, add
some extra whitespace padding for readability.
Fixes: dc0dad365c5e ("drm/i915/guc: Fix for error capture after full GPU reset with GuC")
Signed-off-by: John Harrison <[email protected]>
Reviewed-by: Daniele Ceraolo Spurio <[email protected]>
Acked-by: Tvrtko Ursulin <[email protected]>
Cc: Matthew Brost <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Cc: Matt Roper <[email protected]>
Cc: Umesh Nerlige Ramappa <[email protected]>
Cc: Michael Cheng <[email protected]>
Cc: Lucas De Marchi <[email protected]>
Cc: Tejas Upadhyay <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Bruce Chang <[email protected]>
Cc: Alan Previn <[email protected]>
Cc: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions