[Intel-gfx] [PATCH 2/2] drm/i915/gvt: Stop waiting whilst holding struct_mutex
Chris Wilson
chris at chris-wilson.co.uk
Wed Oct 19 09:08:19 UTC 2016
On Wed, Oct 19, 2016 at 04:54:28PM +0800, Zhenyu Wang wrote:
> On 2016.10.19 09:12:28 +0100, Chris Wilson wrote:
> > For whatever reason, the gvt scheduler runs synchronously. At the very
> > least, lets run synchronously without holding the struct_mutex.
> >
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
>
> This will break current device model which assume to serve one VM context
> on hw at each time but can't switch to another one between for emulation
> issue.
That's a scheduling issue, which should not require struct_mutex. So
what is struct_mutex being used for?
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list