]> 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)
commite3169e621d5649fc152a79d73fb37794e6bc60b5
treea24bebdbe0347fa05edbbc9994f38d71fb8e3164
parente117c5f0b72763dc6390cf81410171fc1f934a70
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