commit | d3ae08109d628d26615d7f7f4d8d53cdd8d71fd0 | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu Jan 26 11:41:11 2012 +0100 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Mon Feb 13 11:03:45 2012 +0100 |
tree | e66b4a742d65b958f3d137a39b7cb7ecd5b9e6d9 | |
parent | 99ffa1629d737295e569267cf5940758139f9ddb [diff] |
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 <chris@chris-wilson.co.uk> Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>