Re: [Intel-gfx] [PATCH v1] drm/i915/guc: Fix a potential issue during driver unload

2015-12-21 Thread Daniel Vetter
On Fri, Dec 18, 2015 at 12:38:59PM -0800, yu@intel.com wrote: > From: Alex Dai > > The device struct_mutex needs to be held before releasing any GEM > objects allocated by GuC. > > WARNING: CPU: 0 PID: 1575 at include/drm/drm_gem.h:217 > gem_release_guc_obj+0x5f/0x70 [i915]() > Call

[Intel-gfx] [PATCH v1] drm/i915/guc: Fix a potential issue during driver unload

2015-12-18 Thread yu . dai
From: Alex Dai The device struct_mutex needs to be held before releasing any GEM objects allocated by GuC. WARNING: CPU: 0 PID: 1575 at include/drm/drm_gem.h:217 gem_release_guc_obj+0x5f/0x70 [i915]() Call Trace: [] dump_stack+0x44/0x60 [] warn_slowpath_common+0x82/0xc0 [