Commit 87b04e5
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: dc0dad3 ("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]
(cherry picked from commit d1c3717)
Signed-off-by: Rodrigo Vivi <[email protected]>1 parent 41d4193 commit 87b04e5
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4817 | 4817 | | |
4818 | 4818 | | |
4819 | 4819 | | |
| 4820 | + | |
| 4821 | + | |
4820 | 4822 | | |
4821 | 4823 | | |
4822 | 4824 | | |
| |||
4833 | 4835 | | |
4834 | 4836 | | |
4835 | 4837 | | |
| 4838 | + | |
| 4839 | + | |
4836 | 4840 | | |
4837 | 4841 | | |
4838 | 4842 | | |
4839 | 4843 | | |
| 4844 | + | |
| 4845 | + | |
| 4846 | + | |
| 4847 | + | |
| 4848 | + | |
| 4849 | + | |
4840 | 4850 | | |
4841 | 4851 | | |
4842 | 4852 | | |
4843 | 4853 | | |
4844 | 4854 | | |
4845 | 4855 | | |
4846 | 4856 | | |
| 4857 | + | |
4847 | 4858 | | |
4848 | 4859 | | |
4849 | 4860 | | |
| |||
0 commit comments