summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/gvt/handlers.c
diff options
context:
space:
mode:
authorChangbin Du <changbin.du@intel.com>2017-01-13 04:16:00 +0100
committerZhenyu Wang <zhenyuw@linux.intel.com>2017-01-13 08:05:38 +0100
commitcdcc43479c9b929940a1955d2e7bae696d2b9496 (patch)
treed1d968321c58235b211641ffb95bc516dd370735 /drivers/gpu/drm/i915/gvt/handlers.c
parentdrm/i915/gvt: introduce intel_vgpu_reset_cfg_space to reset configuration space (diff)
downloadlinux-cdcc43479c9b929940a1955d2e7bae696d2b9496.tar.xz
linux-cdcc43479c9b929940a1955d2e7bae696d2b9496.zip
drm/i915/gvt: move mmio init/clean function to mmio.c
Move the mmio space inititation function setup_vgpu_mmio() and cleanup function clean_vgpu_mmio() in vgpu.c to dedicated source file mmio.c, and rename them as intel_vgpu_init_mmio() and intel_vgpu_clean_mmio() respectively. 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/handlers.c')
-rw-r--r--drivers/gpu/drm/i915/gvt/handlers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/gvt/handlers.c b/drivers/gpu/drm/i915/gvt/handlers.c
index 8cbaf1c83720..fd96898db71d 100644
--- a/drivers/gpu/drm/i915/gvt/handlers.c
+++ b/drivers/gpu/drm/i915/gvt/handlers.c
@@ -257,7 +257,7 @@ static int handle_device_reset(struct intel_vgpu *vgpu, unsigned int offset,
mutex_unlock(&vgpu->gvt->lock);
intel_vgpu_clean_gtt(vgpu);
mutex_lock(&vgpu->gvt->lock);
- setup_vgpu_mmio(vgpu);
+ intel_vgpu_init_mmio(vgpu);
populate_pvinfo_page(vgpu);
intel_vgpu_init_gtt(vgpu);
}