drm/i915/gvt: introduce intel_vgpu_reset_mmio() to reset mmio space
authorChangbin Du <changbin.du@intel.com>
Fri, 13 Jan 2017 03:16:01 +0000 (11:16 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 13 Jan 2017 07:05:38 +0000 (15:05 +0800)
commit97d58f7dd0ff12e5fddeffb40aed845daa628149
treea24bebdbe0347fa05edbbc9994f38d71fb8e3164
parentcdcc43479c9b929940a1955d2e7bae696d2b9496
drm/i915/gvt: introduce intel_vgpu_reset_mmio() to reset mmio space

This patch introduces a new function intel_vgpu_reset_mmio() to
reset vGPU MMIO space (virtual registers of the vGPU). The default
values are loaded as firmware during gvt inititiation.

Signed-off-by: Changbin Du <changbin.du@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/mmio.c
drivers/gpu/drm/i915/gvt/mmio.h