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

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

 



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@xxxxxxxxxxxxxxxxxx>
> 
> 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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://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