]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitca43da42554cd653dfcbf2f68670a0d42a950a40
treea24bebdbe0347fa05edbbc9994f38d71fb8e3164
parent43c2f9ed8c2604307c431996d54f8dc1fc2c7dc2
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