From: Daniel Vetter Date: Wed, 24 Jul 2013 20:40:23 +0000 (+0200) Subject: drm/i915: fix the racy object accounting X-Git-Tag: v3.12-rc1~136^2~129^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c20e835586c0e4d08f891362b3c829d45ef45f9d;p=pandora-kernel.git drm/i915: fix the racy object accounting Just use a spinlock to protect them. v2: Rebase onto the new object create refcount fix patch. v3: Don't kill dev_priv->mm.object_memory as requested by Chris and hence just use a spinlock instead of atomic_t. Cc: Chris Wilson Reviewed-by: Chris Wilson Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=67287 Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed