From: Rob Clark Date: Fri, 11 Jul 2014 15:59:22 +0000 (-0400) Subject: drm/msm: fix potential deadlock in gpu init X-Git-Tag: omap-for-v3.17/fixes-against-rc2~125^2~18^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1ad35233345e7ddd9ea3ea7b841432f4723d743;p=pandora-kernel.git drm/msm: fix potential deadlock in gpu init Somewhere along the way, the firmware loader sprouted another lock dependency, resulting in possible deadlock scenario: &dev->struct_mutex --> &sb->s_type->i_mutex_key#2 --> &mm->mmap_sem which is problematic vs things like gem mmap. So introduce a separate mutex to synchronize gpu init. Signed-off-by: Rob Clark --- Reading git-diff-tree failed