[patch] i915: take struct_mutex lock in intel_setup_overlay()

2010-05-01 Thread Dan Carpenter
This is more of RFC than a proper patch. I was looking at https://bugzilla.kernel.org/show_bug.cgi?id=15673 and I wrote a script to show where we call drm_gem_object_unreference() without holding struct_mutex and it showed these two places. There call tree to here is: i915_load_modeset_init()

[patch] i915: take struct_mutex lock in intel_setup_overlay()

2010-04-30 Thread Dan Carpenter
This is more of RFC than a proper patch. I was looking at https://bugzilla.kernel.org/show_bug.cgi?id=15673 and I wrote a script to show where we call drm_gem_object_unreference() without holding struct_mutex and it showed these two places. There call tree to here is: i915_load_modeset_init()