projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53b725c
)
drm/i915/error: capture uc_state after gen_state
author
Daniele Ceraolo Spurio
<
[email protected]
>
Mon, 5 Mar 2018 22:21:22 +0000
(14:21 -0800)
committer
Chris Wilson
<
[email protected]
>
Tue, 6 Mar 2018 09:34:46 +0000
(09:34 +0000)
error->device_info.has_guc, which we check in capture_uc_state, is set
in capture_gen_state, so the latter needs to be performed first.
v2: rebased
Reported-by: Vinay Belgaumkar <
[email protected]
>
Fixes: 7d41ef3479a6 (drm/i915: Add Guc/HuC firmware details to error state)
Cc: Vinay Belgaumkar <
[email protected]
>
Cc: Michal Wajdeczko <
[email protected]
>
Cc: Chris Wilson <
[email protected]
>
Signed-off-by: Daniele Ceraolo Spurio <
[email protected]
>
Reviewed-by: Chris Wilson <
[email protected]
>
Link:
https://patchwork.freedesktop.org/patch/msgid/
[email protected]
Signed-off-by: Chris Wilson <
[email protected]
>
drivers/gpu/drm/i915/i915_gpu_error.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_gpu_error.c
b/drivers/gpu/drm/i915/i915_gpu_error.c
index 9afb1b9674c0258c6daa0c3ee181903cb457f3f3..9e5e9547adb26342de03eb191acf79b8af8b3e87 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_gpu_error.c
+++ b/
drivers/gpu/drm/i915/i915_gpu_error.c
@@
-1743,8
+1743,8
@@
static int capture(void *data)
error->i915->gt.last_init_time);
capture_params(error);
- capture_uc_state(error);
capture_gen_state(error);
+ capture_uc_state(error);
capture_reg_state(error);
gem_record_fences(error);
gem_record_rings(error);