commit | 66bbc3b2b16b4d15de0bd737147538bcf4d355b6 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Wed Oct 19 11:11:44 2016 +0100 |
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | Thu Oct 20 17:31:34 2016 +0800 |
tree | e446f3d620832c3987bec192d8af95634d507c80 | |
parent | f460c251ea37836c57584a18981820fbde809d1d [diff] |
drm/i915/gvt: Stop waiting whilst holding struct_mutex For whatever reason, the gvt scheduler runs synchronously. At the very least, lets run synchronously without holding the struct_mutex. v2: cut'n'paste mutex_lock instead of unlock. Replace long hold of struct_mutex with a mutex to serialise the worker threads. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>