From: David Herrmann Date: Mon, 24 Feb 2014 14:53:25 +0000 (+0100) Subject: drm: make minors independent of global lock X-Git-Tag: v3.15-rc1~51^2~56^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d639883ee26359e1bf38195df1dbca0f879e239;p=pandora-kernel.git drm: make minors independent of global lock We used to protect minor-lookup and setup by the global drm lock. To continue our attempts of dropping drm_global_mutex, this patch makes the minor management independent of it. Furthermore, we make it all atomic and switch to spin-locks instead of a mutex. Now that minor-lookup is independent, we also move the "drm_is_unplugged()" test into the minor-lookup path. There is no reason to ever return a minor for unplugged objects, so keep that logic internal. Signed-off-by: David Herrmann --- Reading git-diff-tree failed