summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorChangbin Du <changbin.du@intel.com>2017-01-13 04:15:59 +0100
committerZhenyu Wang <zhenyuw@linux.intel.com>2017-01-13 08:05:38 +0100
commitc64ff6c774413fdbffd7f0f3ef5b04127d461cf4 (patch)
tree5dbf3e01edba3b504d7bc2470460146a54ee37da /net
parentdrm/i915/gvt: move cfg space inititation function to cfg_space.c (diff)
downloadlinux-c64ff6c774413fdbffd7f0f3ef5b04127d461cf4.tar.xz
linux-c64ff6c774413fdbffd7f0f3ef5b04127d461cf4.zip
drm/i915/gvt: introduce intel_vgpu_reset_cfg_space to reset configuration space
This patch introduces a new function intel_vgpu_reset_cfg_space() to reset vGPU configuration space. This function will unmap gttmmio and aperture if they are mapped before. Then entire cfg space will be restored to default values. Currently we only do such reset when vGPU is not owned by any VM so we simply restore entire cfg space to default value, not following the PCIe FLR spec that some fields should remain unchanged. Signed-off-by: Changbin Du <changbin.du@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions