]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit59e13b0bde2dc335f670188308944137c3fa4dea
treeb5d7ab9eb5e990a169988eca028b84870114cac5
parent299d042a09d78a9930653f35cbbf1c531c1eb44d
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