[Intel-gfx] [PATCH 2/2] drm/i915/gvt: Stop waiting whilst holding struct_mutex

2016-10-19 Thread Chris Wilson
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 --- drivers/gpu/drm/i915/gvt/scheduler.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/gp

Re: [Intel-gfx] [PATCH 2/2] drm/i915/gvt: Stop waiting whilst holding struct_mutex

2016-10-19 Thread Matthew Auld
On 19 October 2016 at 09:12, 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 > --- > drivers/gpu/drm/i915/gvt/scheduler.c | 13 ++--- > 1 file ch

Re: [Intel-gfx] [PATCH 2/2] drm/i915/gvt: Stop waiting whilst holding struct_mutex

2016-10-19 Thread Zhenyu Wang
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 This will break current device model which assume to serve one VM context o

Re: [Intel-gfx] [PATCH 2/2] drm/i915/gvt: Stop waiting whilst holding struct_mutex

2016-10-19 Thread Chris Wilson
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 > >