drm/i915/gvt: add missing display part reset for vGPU reset
authorChangbin Du <changbin.du@intel.com>
Tue, 14 Feb 2017 06:50:18 +0000 (14:50 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 14 Feb 2017 09:09:02 +0000 (17:09 +0800)
commit6294b61ba769ba2cc4a182c32410aa4a75808fea
tree85aea386175136d037102756105c94c5b76d5bf7
parent03806edc3582392727a6dc617662ac57e6b24b01
drm/i915/gvt: add missing display part reset for vGPU reset

We also need reset vGPU virtual display emulation. Since all vreg has
been cleared, we need reset display related vreg to reflect our display
setting.

Signed-off-by: Changbin Du <changbin.du@intel.com>
Cc: Ping Gao <ping.a.gao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/display.c
drivers/gpu/drm/i915/gvt/display.h
drivers/gpu/drm/i915/gvt/vgpu.c