Re: [Intel-gfx] [PATCH] drm/i915/guc: Clear enable_guc_loading in case of init failure

2017-06-05 Thread Daniele Ceraolo Spurio
You'll also need to change the order of operations in intel_uc_fini_hw to make sure guc_free_load_err_log is called before the i915.enable_guc_loading check, because that log exists exactly when GuC loading failed. Thanks, Daniele On 02/06/17 16:46, Michel Thierry wrote: And prevent calling

Re: [Intel-gfx] [PATCH] drm/i915/guc: Clear enable_guc_loading in case of init failure

2017-06-03 Thread Michal Wajdeczko
On Fri, Jun 02, 2017 at 04:46:54PM -0700, Michel Thierry wrote: > 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. > > Fixes: 04f7b24eccdf ("drm/i915/guc: Assert that we

Re: [Intel-gfx] [PATCH] drm/i915/guc: Clear enable_guc_loading in case of init failure

2017-06-03 Thread Chris Wilson
Quoting Michel Thierry (2017-06-03 00:46:54) > 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. > > Fixes: 04f7b24eccdf ("drm/i915/guc: Assert that we switch between known

[Intel-gfx] [PATCH] drm/i915/guc: Clear enable_guc_loading in case of init failure

2017-06-02 Thread Michel Thierry
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. Fixes: 04f7b24eccdf ("drm/i915/guc: Assert that we switch between known ggtt->invalidate functions") Cc: Chris Wilson