diff options
author | Changbin Du <changbin.du@intel.com> | 2017-12-08 14:56:21 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2017-12-08 16:18:19 +0800 |
commit | 83164886e4559f87015a33780852a64cdd6e4e50 (patch) | |
tree | 37924557b861d87a4e250927b917c297af01a3ef /drivers/gpu/drm/i915/gvt/gvt.h | |
parent | 4447f423ff0822f3eacc31bbaf445226fa312b84 (diff) | |
download | linux-83164886e4559f87015a33780852a64cdd6e4e50.tar.gz linux-83164886e4559f87015a33780852a64cdd6e4e50.tar.bz2 linux-83164886e4559f87015a33780852a64cdd6e4e50.zip |
drm/i915/gvt: Select appropriate mmio list at initialization time
Select appropriate mmio list at initialization time, so we don't need to
do duplicated work at where requires the mmio list.
V2:
- Add a termination mark of mmio list.
Signed-off-by: Changbin Du <changbin.du@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/gvt.h')
-rw-r--r-- | drivers/gpu/drm/i915/gvt/gvt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gvt/gvt.h b/drivers/gpu/drm/i915/gvt/gvt.h index 77df9bad5dea..39c2f3a4588e 100644 --- a/drivers/gpu/drm/i915/gvt/gvt.h +++ b/drivers/gpu/drm/i915/gvt/gvt.h @@ -310,6 +310,8 @@ struct intel_gvt { wait_queue_head_t service_thread_wq; unsigned long service_request; + struct engine_mmio *engine_mmio_list; + struct dentry *debugfs_root; }; |