From: Tvrtko Ursulin Date: Mon, 13 Apr 2015 15:03:03 +0000 (+0100) Subject: drm/i915: Move drm_framebuffer_unreference out of struct_mutex for takeover X-Git-Tag: omap-for-v4.2/o2_dc~72^2~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0d6149b3debce1a7e17dfda7c2829935917dc58;p=pandora-kernel.git drm/i915: Move drm_framebuffer_unreference out of struct_mutex for takeover intel_user_framebuffer_destroy() requires the struct_mutex for its object bookkeeping, so this means that all calls to drm_framebuffer_unreference must be held without that lock. This is a simplified version of the identically named patch by Chris Wilson. Regression from commit ab8d66752a9c28cd6c94fa173feacdfc1554aa03 Author: Tvrtko Ursulin Date: Mon Feb 2 15:44:15 2015 +0000 drm/i915: Track old framebuffer instead of object v2: Bikeshedding. References: https://bugs.freedesktop.org/show_bug.cgi?id=89166 Cc: Chris Wilson Cc: Ville Syrjälä Cc: Daniel Vetter Signed-off-by: Tvrtko Ursulin Reviewed-by: Ville Syrjälä Signed-off-by: Jani Nikula --- Reading git-diff-tree failed