diff options
| author | Michel Thierry <[email protected]> | 2017-06-05 10:12:51 -0700 |
|---|---|---|
| committer | Joonas Lahtinen <[email protected]> | 2017-06-08 12:21:19 +0300 |
| commit | c4a8952612f6c1c28bab200c45d773e08dfd24d5 (patch) | |
| tree | fc120ea3ff36f9a54b5497836c79a0a4d3ce2947 /tools/perf/scripts/python | |
| parent | d5553c0990c8b9cde6a9abb1f15acf8a11c5eef3 (diff) | |
drm/i915/guc: Clear enable_guc_loading in case of init failure
And prevent calling i915_ggtt_disable_guc twice (the first when GuC init
failed, and the second time during driver unload / intel_uc_fini_hw),
and hitting the GEM_BUG_ON.
v2: Clear enable_guc_loading unconditionally (Michal)
Make sure guc_free_load_err_log is still called (Daniele)
Don't shoot the messenger (Chris)
Fixes: 3950bf3dbff10 ("drm/i915/guc: Add onion teardown to the GuC
setup")
Cc: Chris Wilson <[email protected]>
Cc: Michal Wajdeczko <[email protected]>
Cc: Daniele Ceraolo Spurio <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Signed-off-by: Michel Thierry <[email protected]>
Reviewed-by: Michal Wajdeczko <[email protected]>
Signed-off-by: Joonas Lahtinen <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions