commit | a1ad35233345e7ddd9ea3ea7b841432f4723d743 | [log] [tgz] |
---|---|---|
author | Rob Clark <robdclark@gmail.com> | Fri Jul 11 11:59:22 2014 -0400 |
committer | Rob Clark <robdclark@gmail.com> | Mon Aug 04 11:55:29 2014 -0400 |
tree | 89fa09c7bfbf0367280bd998c0dfc4508b205776 | |
parent | 944fc36c31ed685cf8d3d125eb681ae7198f06fc [diff] |
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 <robdclark@gmail.com>