Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm
Changbin Du c64ff6c774 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>
2017-01-13 15:05:38 +08:00
..
2016-12-25 17:21:22 +01:00
2016-12-08 10:25:37 +10:00
2016-12-25 17:21:22 +01:00
2016-12-25 17:21:22 +01:00
2016-12-02 17:15:20 +01:00
2016-11-17 11:58:09 +01:00
2016-11-15 23:33:48 +01:00
2016-12-08 10:00:15 +01:00
2016-11-15 23:33:48 +01:00