Re: [PATCH 7/7] drm/i915: GEM operations need to be done under the big lock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 11, 2016 at 02:47:17PM +0000, Tvrtko Ursulin wrote:
> 
> On 11/01/16 14:38, Chris Wilson wrote:
> >On Mon, Jan 11, 2016 at 02:08:41PM +0000, Tvrtko Ursulin wrote:
> >>From: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx>
> >>
> >>VMA creation and GEM list management need the big lock.
> >>
> >>v2:
> >>
> >>Mutex unlock ended on the wrong path somehow. (0-day, Julia Lawall)
> >>
> >>Not to mention drm_gem_object_unreference was there in existing
> >>code with no mutex held.
> >>
> >>v3:
> >>
> >>Some callers of i915_gem_object_create_stolen_for_preallocated
> >>already hold the lock so move the mutex into the other caller
> >>as well.
> >
> >intel_pm.c valleyview_setup_pctx?
> 
> Already holds it traced by the WARN_ON at its top.

Which is a nice little mutex inversion of its own. :|
i.e. rpm vs struct_mutex bug
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux