]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/gpu/drm/i915/gvt/gvt.h
drm/i915/gvt: vGPU context switch
[linux.git] / drivers / gpu / drm / i915 / gvt / gvt.h
index 6d37468631b7e973662f6c1a5542a9bf900ac45d..dfe398d474960ab0f5c68019560dbc14c7d47a86 100644 (file)
@@ -44,6 +44,7 @@
 #include "execlist.h"
 #include "scheduler.h"
 #include "sched_policy.h"
+#include "render.h"
 
 #define GVT_MAX_VGPU 8
 
@@ -154,6 +155,7 @@ struct intel_vgpu {
        struct list_head workload_q_head[I915_NUM_ENGINES];
        struct kmem_cache *workloads;
        atomic_t running_workload_num;
+       DECLARE_BITMAP(tlb_handle_pending, I915_NUM_ENGINES);
        struct i915_gem_context *shadow_ctx;
        struct notifier_block shadow_ctx_notifier_block;
 };