summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gvt/gvt.h
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2017-06-30 12:49:44 +0300
committerJani Nikula <jani.nikula@intel.com>2017-06-30 12:49:45 +0300
commit507ad75736f896f705663f22d8fd045cac99afae (patch)
treefd7ba1f292303f1a8c96c7c6ce0be1cfcc0c16dc /drivers/gpu/drm/i915/gvt/gvt.h
parentbdbbf7d619d1fd2f1fa9eb529b7817e4faf73f5e (diff)
parent5cd82b757795228516bf60a0552d1a40fa8adeb2 (diff)
downloadlinux-507ad75736f896f705663f22d8fd045cac99afae.tar.xz
Merge tag 'gvt-fixes-2017-06-29' of https://github.com/01org/gvt-linux into drm-intel-next-fixes
gvt-fixes-2017-06-29 - two race fixes for VFIO locks from Chuanxiao - virtual display fix for BDW from Xiong Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170629065424.kxopjbvntuakbyz2@zhen-hp.sh.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/gvt.h')
-rw-r--r--drivers/gpu/drm/i915/gvt/gvt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gvt/gvt.h b/drivers/gpu/drm/i915/gvt/gvt.h
index 3a74e79eac2f..28d817e96e58 100644
--- a/drivers/gpu/drm/i915/gvt/gvt.h
+++ b/drivers/gpu/drm/i915/gvt/gvt.h
@@ -182,6 +182,9 @@ struct intel_vgpu {
struct kvm *kvm;
struct work_struct release_work;
atomic_t released;
+ struct work_struct unpin_work;
+ spinlock_t unpin_lock; /* To protect unpin_list */
+ struct list_head unpin_list;
} vdev;
#endif
};