drm/i915/gvt: Select appropriate mmio list at initialization time
authorChangbin Du <changbin.du@intel.com>
Fri, 8 Dec 2017 06:56:21 +0000 (14:56 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 8 Dec 2017 08:18:19 +0000 (16:18 +0800)
commit83164886e4559f87015a33780852a64cdd6e4e50
tree37924557b861d87a4e250927b917c297af01a3ef
parent4447f423ff0822f3eacc31bbaf445226fa312b84
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>
drivers/gpu/drm/i915/gvt/gvt.c
drivers/gpu/drm/i915/gvt/gvt.h
drivers/gpu/drm/i915/gvt/render.c
drivers/gpu/drm/i915/gvt/render.h