diff options
author | Hang Yuan <hang.yuan@linux.intel.com> | 2018-07-30 05:52:53 +0300 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2018-08-14 10:26:09 +0300 |
commit | d6c6113bfe19af514128163a6d176437d45b7325 (patch) | |
tree | 21885e025c8aa740eaa3fdf90bb20bc80b999eb1 /kernel | |
parent | 3fd34ac02ae8cc20d78e3aed2cf6e67f0ae109ea (diff) | |
download | linux-d6c6113bfe19af514128163a6d176437d45b7325.tar.xz |
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 <hang.yuan@linux.intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions