summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/gvt/scheduler.h
diff options
context:
space:
mode:
authorZhi Wang <zhi.a.wang@intel.com>2017-09-10 21:15:18 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2017-11-16 11:46:42 +0800
commit1406a14b0ed977fc18f43398b391e4bb5d744174 (patch)
tree0656a6ce31638f8656f213a27db02ca1c12d5407 /drivers/gpu/drm/i915/gvt/scheduler.h
parent9a9829e9eb8bc4b4e870ce15a8904a32991608d5 (diff)
downloadblackbird-obmc-linux-1406a14b0ed977fc18f43398b391e4bb5d744174.tar.gz
blackbird-obmc-linux-1406a14b0ed977fc18f43398b391e4bb5d744174.zip
drm/i915/gvt: Introduce intel_vgpu_submission
Introduce intel_vgpu_submission to hold all members related to submission in struct intel_vgpu before. Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/scheduler.h')
-rw-r--r--drivers/gpu/drm/i915/gvt/scheduler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/gvt/scheduler.h b/drivers/gpu/drm/i915/gvt/scheduler.h
index c216aefaa73e..3ca0087f10b2 100644
--- a/drivers/gpu/drm/i915/gvt/scheduler.h
+++ b/drivers/gpu/drm/i915/gvt/scheduler.h
@@ -122,7 +122,7 @@ struct intel_shadow_bb_entry {
};
#define workload_q_head(vgpu, ring_id) \
- (&(vgpu->workload_q_head[ring_id]))
+ (&(vgpu->submission.workload_q_head[ring_id]))
#define queue_workload(workload) do { \
list_add_tail(&workload->list, \
OpenPOWER on IntegriCloud