drm/i915/gvt: Fix shadow context descriptor
authorZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 13 Feb 2017 09:07:19 +0000 (17:07 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 14 Feb 2017 09:03:42 +0000 (17:03 +0800)
commit03806edc3582392727a6dc617662ac57e6b24b01
treecb1350a119e10d21776eb31b9424db4acc1877b9
parent5b3cac191670c2ee2995cd740b80fbb638de3f3e
drm/i915/gvt: Fix shadow context descriptor

We need to be careful to only update addr mode for gvt shadow context
descriptor but keep other valid config. This fixes GPU hang caused by
invalid descriptor submitted for gvt workload.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/scheduler.c