diff options
author | Hang Yuan <[email protected]> | 2018-07-30 10:52:53 +0800 |
---|---|---|
committer | Zhenyu Wang <[email protected]> | 2018-08-14 15:26:09 +0800 |
commit | d6c6113bfe19af514128163a6d176437d45b7325 (patch) | |
tree | 21885e025c8aa740eaa3fdf90bb20bc80b999eb1 /tools/perf/util/trace-event-scripting.c | |
parent | 3fd34ac02ae8cc20d78e3aed2cf6e67f0ae109ea (diff) |
drm/i915/gvt: initialize dmabuf mutex in vgpu_create
Currently, the mutex used in GVT dmabuf support is not initialized until
vgpu device is opened. If one vgpu device is opened and then removed, the
mutex will be used in vgpu remove operation without initialization. This
patch initializes the mutex in vgpu create operation to avoid the problem.
Fixes: e546e281d33d("drm/i915/gvt: Dmabuf support for GVT-g")
Signed-off-by: Hang Yuan <[email protected]>
Signed-off-by: Zhenyu Wang <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions