diff options
author | Zhi Wang <zhi.a.wang@intel.com> | 2017-09-10 16:33:20 +0300 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2017-11-16 06:46:49 +0300 |
commit | 91d5d85442b2a65e5f4e1726565c1c1a8ba9976f (patch) | |
tree | 79479bc6ae6da2b8fbbb27964f4e188436b6c5c5 /drivers/gpu/drm/i915/gvt/scheduler.c | |
parent | 1406a14b0ed977fc18f43398b391e4bb5d744174 (diff) | |
download | linux-91d5d85442b2a65e5f4e1726565c1c1a8ba9976f.tar.xz |
drm/i915/gvt: Move tlb_handle_pending into intel_vgpu_submission
Move tlb_handle_pending into intel_vgpu_submssion since it belongs to a
part of vGPU submission stuffs
Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/scheduler.c')
-rw-r--r-- | drivers/gpu/drm/i915/gvt/scheduler.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gvt/scheduler.c b/drivers/gpu/drm/i915/gvt/scheduler.c index 864a2bc06e45..7cb1cf4223ed 100644 --- a/drivers/gpu/drm/i915/gvt/scheduler.c +++ b/drivers/gpu/drm/i915/gvt/scheduler.c @@ -766,6 +766,7 @@ int intel_vgpu_setup_submission(struct intel_vgpu *vgpu) INIT_LIST_HEAD(&s->workload_q_head[i]); atomic_set(&s->running_workload_num, 0); + bitmap_zero(s->tlb_handle_pending, I915_NUM_ENGINES); return 0; |