drm/i915/gvt: Fix GFX_MODE handling
authorColin Xu <Colin.Xu@intel.com>
Tue, 28 May 2019 03:20:34 +0000 (11:20 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 30 May 2019 03:31:43 +0000 (11:31 +0800)
commit888c0094b2e2892b5916475d6f53356a7b53732b
tree4de016b5eee289a5732b74cb61ae56343d7bf514
parent1fd45b09b10f8ea56b14c0cf128c21ad5dd3c496
drm/i915/gvt: Fix GFX_MODE handling

Enter failsafe if vgpu tries to change GFX_MODE controlled by host.

Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Colin Xu <colin.xu@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/handlers.c