From: Daniel Vetter Date: Thu, 26 Jan 2012 10:41:11 +0000 (+0100) Subject: drm/i915: fix up locking inconsistency around gem_do_init X-Git-Tag: v3.4-rc1~143^2~85^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3ae08109d628d26615d7f7f4d8d53cdd8d71fd0;p=pandora-kernel.git drm/i915: fix up locking inconsistency around gem_do_init The locking in our setup and teardown paths is rather arbitrary, but generally we try to protect gem stuff with dev->struct_mutex. Further, the ums/gem ioctl to setup gem _does_ take the look. So fix up this benign inconsistency. Notice while reading through code. v2: Rebased on top of the ppgtt code. Reviewed-by: Chris Wilson Signed-Off-by: Daniel Vetter --- Reading git-diff-tree failed