drm/i915/gvt: vGPU workload submission
authorZhi Wang <zhi.a.wang@intel.com>
Sun, 1 May 2016 09:22:47 +0000 (05:22 -0400)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 14 Oct 2016 10:14:37 +0000 (18:14 +0800)
commit28c4c6ca7f794b2d5ac8773d43311e95f6518415
treed543a88a6f32b5c29181d62017f064f4cc2c50c7
parent8453d674ae7e63f629a91fe4124df7a7dc9c74cd
drm/i915/gvt: vGPU workload submission

This patch introduces the vGPU workload submission logics.

Under virtualization environment, guest will submit workload through
virtual execlist submit port. The submitted workload load will be wrapped
into an gvt workload which will be picked by GVT workload scheduler and
executed on host i915 later.

Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/execlist.c
drivers/gpu/drm/i915/gvt/execlist.h
drivers/gpu/drm/i915/gvt/gvt.h
drivers/gpu/drm/i915/gvt/handlers.c
drivers/gpu/drm/i915/gvt/reg.h
drivers/gpu/drm/i915/gvt/scheduler.h [new file with mode: 0644]
drivers/gpu/drm/i915/gvt/vgpu.c