[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/gvt: Enable vGPU local display direct flip

2018-12-02 Thread Patchwork
== Series Details == Series: drm/i915/gvt: Enable vGPU local display direct flip URL : https://patchwork.freedesktop.org/series/53383/ State : failure == Summary == CALLscripts/checksyscalls.sh DESCEND objtool CHK include/generated/compile.h CC [M] drivers/gpu/drm/i915/intel_at

[Intel-gfx] [RFC PATCH 2/7] drm/i915/gvt: Use meta fbs to stand for vGPU's planes

2018-12-02 Thread Tina Zhang
Create and initialize vGPU meta framebuffers during vGPU's creation. Each meta framebuffer is an intel_framebuffer. Userspace can get the userspace visible identifier of that meta framebuffer by accessing plane_id_index attribute. For example: In "/sys/bus/pci/devices/\:00\:02.0/$vGPU_id/intel

[Intel-gfx] [RFC PATCH 6/7] drm/i915/gvt: Enable guest direct page flip

2018-12-02 Thread Tina Zhang
Use the vGPU direct plane flip framework do the guest direct page flip. Signed-off-by: Tina Zhang Cc: Zhenyu Wang Cc: Zhi Wang --- drivers/gpu/drm/i915/gvt/handlers.c | 38 + 1 file changed, 38 insertions(+) diff --git a/drivers/gpu/drm/i915/gvt/handlers.c

[Intel-gfx] [RFC PATCH 3/7] drm/i915: Introduce async plane update to i915

2018-12-02 Thread Tina Zhang
This patch is separated from the following patch: https://lists.freedesktop.org/archives/dri-devel/2018-June/179592.html This patch introduces the implementation async plane update callbacks to i915. The original idea is to use async plane update framework to update cursors. The next patch of thi

[Intel-gfx] [RFC PATCH 7/7] drm/i915/gvt: Introduce HW Vblank interrupt to vGPU

2018-12-02 Thread Tina Zhang
For each physical crtc, Gvt-g has a kernel thread to get the HW vblank event on time and inject the interrupt event to the vGPUs which the display planes of the crtc are assigned to. Signed-off-by: Tina Zhang Cc: Zhenyu Wang Cc: Zhi Wang --- drivers/gpu/drm/i915/gvt/display.c | 30 ++---

[Intel-gfx] [RFC PATCH 5/7] drm/i915/gvt: Introduce vGPU plane page flip framework

2018-12-02 Thread Tina Zhang
The vGPU plane page flip framework supports to update the assigned planes with the meta framebuffer information during guest vGPU page flip. With the updated meta framebuffer information, the proposed framework will use the asynchronous atomic commit path to do the plane update on behalf of vGPUs

[Intel-gfx] [RFC PATCH 4/7] drm/i915: Extend async plane update to other planes

2018-12-02 Thread Tina Zhang
Extend async plane update idea to more planes. Signed-off-by: Tina Zhang Cc: Gustavo Padovan Cc: Enric Balletbo i Serra Cc: Helen Koike Cc: Daniel Vetter Cc: Ville Syrjälä --- drivers/gpu/drm/i915/intel_atomic_plane.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/i91

[Intel-gfx] [RFC PATCH 1/7] drm/i915: Introduce meta framebuffer

2018-12-02 Thread Tina Zhang
Meta framebuffer, as a special intel_framebuffer, is used to describe an intel_framebuffer which is already pinned to the GGTT space and can be accessed by the display engine HW. In the virtualization world, with the help of GVT-g, vGPUs can share the entire global GTT space and be able to pin the

[Intel-gfx] [RFC PATCH 0/7] drm/i915/gvt: Enable vGPU local display direct flip

2018-12-02 Thread Tina Zhang
This series is used to enable the local display direct flip feature for vGPUs on Gen9. vGPU Local Display Direct Flip Feature -- This feature provides vGPUs with the capablities to control a subset of the local HW display engine resources to display output fro

[Intel-gfx] ✓ Fi.CI.IGT: success for Change KVMGT into self loadable module

2018-12-02 Thread Patchwork
== Series Details == Series: Change KVMGT into self loadable module URL : https://patchwork.freedesktop.org/series/53379/ State : success == Summary == CI Bug Log - changes from CI_DRM_5237_full -> Patchwork_10993_full Summary --- **

[Intel-gfx] ✓ Fi.CI.BAT: success for Change KVMGT into self loadable module

2018-12-02 Thread Patchwork
== Series Details == Series: Change KVMGT into self loadable module URL : https://patchwork.freedesktop.org/series/53379/ State : success == Summary == CI Bug Log - changes from CI_DRM_5237 -> Patchwork_10993 Summary --- **SUCCESS**

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Change KVMGT into self loadable module

2018-12-02 Thread Patchwork
== Series Details == Series: Change KVMGT into self loadable module URL : https://patchwork.freedesktop.org/series/53379/ State : warning == Summary == $ dim checkpatch origin/drm-tip c0de8b6d6a23 drm/i915/gvt: mandatory require hypervisor's host_init 98c49ae62049 drm/i915/gvt: remove unused p

[Intel-gfx] [PATCH v3 0/3] Change KVMGT into self loadable module

2018-12-02 Thread Zhenyu Wang
This series try to change 'kvmgt' as self loadable module to enable GVT feature for VFIO/mdev interface when user loads 'kvmgt' module, instead of current method to load hypervisor module when i915/gvt device model initializes. v3: - Fix module reference handling for device open and release. Unuse

[Intel-gfx] [PATCH v3 2/3] drm/i915/gvt: remove unused parameter for hypervisor's host_exit call

2018-12-02 Thread Zhenyu Wang
The parameter 'void *gvt' is not used and required for hypervisor's exit call. Even for non-merged Xen hypervisor support. So just remove it. Signed-off-by: Zhenyu Wang --- drivers/gpu/drm/i915/gvt/gvt.c | 2 +- drivers/gpu/drm/i915/gvt/hypercall.h | 2 +- drivers/gpu/drm/i915/gvt/kvmgt.c

[Intel-gfx] [PATCH v3 3/3] drm/i915/gvt: Change KVMGT as self load module

2018-12-02 Thread Zhenyu Wang
This trys to make 'kvmgt' module as self loadable instead of loading by i915/gvt device model. So hypervisor specific module could be stand-alone, e.g only after loading hypervisor specific module, GVT feature could be enabled via specific hypervisor interface, e.g VFIO/mdev. So this trys to use h

[Intel-gfx] [PATCH v3 1/3] drm/i915/gvt: mandatory require hypervisor's host_init

2018-12-02 Thread Zhenyu Wang
Don't mark hypervisor module's host_init as optional, but mandatory required. Signed-off-by: Zhenyu Wang --- drivers/gpu/drm/i915/gvt/mpt.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/gvt/mpt.h b/drivers/gpu/drm/i915/gvt/mpt.h index 67f19992b226.

Re: [Intel-gfx] [PATCH v2] drm/i915/gvt: Change KVMGT as self load module

2018-12-02 Thread Zhenyu Wang
On 2018.11.30 08:44:23 -0700, Alex Williamson wrote: > On Fri, 30 Nov 2018 14:51:24 +0800 > Zhenyu Wang wrote: > > > This trys to make 'kvmgt' module as self loadable instead of loading > > by i915/gvt device model. So hypervisor specific module could be > > stand-alone, e.g only after loading hy

Re: [Intel-gfx] [PATCH v5 4/5] drm: Add library for shmem backed GEM objects

2018-12-02 Thread Noralf Trønnes
Den 30.11.2018 00.58, skrev Eric Anholt: Daniel Vetter writes: On Wed, Nov 28, 2018 at 01:52:56PM -0800, Eric Anholt wrote: Daniel Vetter writes: On Tue, Nov 27, 2018 at 12:38:44PM -0800, Eric Anholt wrote: Daniel Vetter writes: On Mon, Nov 26, 2018 at 04:36:21PM -0800, Eric Anholt wr