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>
Dieser Commit ist enthalten in:
Changbin Du
2017-12-08 14:56:21 +08:00
committet von Zhenyu Wang
Ursprung 4447f423ff
Commit 83164886e4
4 geänderte Dateien mit 40 neuen und 33 gelöschten Zeilen

Datei anzeigen

@@ -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;
};