[Intel-gfx] [PATCH v2] drm/i915: Remove struct_mutex for destroying framebuffers

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Thu Feb 16 10:18:39 UTC 2017


On to, 2017-02-16 at 09:46 +0000, Chris Wilson wrote:
> We do not need to hold struct_mutex for destroying drm_i915_gem_objects
> any longer, and with a little care taken over tracking
> obj->framebuffer_references, we can relinquish BKL locking around the
> destroy of intel_framebuffer.
> 
> v2: Use atomic check for WARN_ON framebuffer miscounting
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation


More information about the Intel-gfx mailing list