]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: refactor intel_gvt_io_emulation_ops to be intel_gvt_ops
authorJike Song <jike.song@intel.com>
Thu, 3 Nov 2016 10:38:35 +0000 (18:38 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 10 Nov 2016 07:45:15 +0000 (15:45 +0800)
commit4d1ada51227c365fb42c3ed8b7a7f599d8679570
tree0774390a13bc2709b32309bd24ded3d841d1d64b
parentac0626eeba8233488d88c1a61e14fb690d26ee5c
drm/i915/gvt: refactor intel_gvt_io_emulation_ops to be intel_gvt_ops

There are currently 4 methods in intel_gvt_io_emulation_ops
to emulate CFG/MMIO reading/writing for intel vGPU. A possibly
better scope is: add 3 more methods for vgpu create/destroy/reset
respectively, and rename the ops to 'intel_gvt_ops', then pass
it to the MPT module (say the future kvmgt) to use: they are
all methods for external usage.

Signed-off-by: Jike Song <jike.song@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/cfg_space.c
drivers/gpu/drm/i915/gvt/gvt.c
drivers/gpu/drm/i915/gvt/gvt.h
drivers/gpu/drm/i915/gvt/hypercall.h
drivers/gpu/drm/i915/gvt/mmio.c
drivers/gpu/drm/i915/gvt/mmio.h
drivers/gpu/drm/i915/gvt/vgpu.c