]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/gpu/drm/i915/gvt/gvt.h
drm/i915/gvt: enter failsafe mode when guest requires more resources
authorMin He <min.he@intel.com>
Fri, 17 Feb 2017 08:42:38 +0000 (16:42 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 23 Feb 2017 09:32:13 +0000 (17:32 +0800)
commita33fc7a0482a40068c022aefcefd50f9f0f44f87
treebc5a7a1ed4a1d6cb7ddfe93674606ba6500a447a
parentd1be371d4f4c12d11023c9fc795e5d460d960680
drm/i915/gvt: enter failsafe mode when guest requires more resources

Windows guest will notitfy GVT-g to request more resources through g2v
interface, when its resources are not enough.
This patch is to handle this case and let vgpu enter failsafe mode to
avoid too many error messages.

Signed-off-by: Min He <min.he@intel.com>
Signed-off-by: Pei Zhang <pei.zhang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/gvt.h
drivers/gpu/drm/i915/gvt/handlers.c