From: Ville Syrjälä Date: Fri, 13 Jun 2014 08:10:53 +0000 (+0300) Subject: drm/i915: Add locking around framebuffer_references-- X-Git-Tag: omap-for-v3.17/fixes-against-rc2~125^2~63^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60a5ca015ffd2aacfe5674b5a401cd2a37159e07;p=pandora-kernel.git drm/i915: Add locking around framebuffer_references-- obj->framebuffer_references isn't an atomic_t so the decrement needs to be protected by some lock. struct_mutex seems like the appropriate lock here, and we may already take it for the obj unref anyway. Signed-off-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed