drm/i915/gvt: update RING_START reg of vGPU when the context is submitted to i915
authorWeinan Li <weinan.z.li@intel.com>
Mon, 2 Sep 2019 05:57:59 +0000 (13:57 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 6 Sep 2019 05:39:09 +0000 (13:39 +0800)
commit4a5322560aa235efa84c0aa34c00e5749a0792fd
treeb5d7ab9eb5e990a169988eca028b84870114cac5
parent0a3242bdb47713e09cb004a0ba4947d3edf82d8a
drm/i915/gvt: update RING_START reg of vGPU when the context is submitted to i915

The guest may use this register to identify the running state of one
context. Emulate it as the value in context image as if the context runs
on the GPU hardware.

Signed-off-by: Weinan Li <weinan.z.li@intel.com>
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/scheduler.c