[Intel-gfx] [PATCH v6 8/8] drm/i915/gvt: GVTg support context submission pv optimization

2019-06-02 Thread Xiaolin Zhang
implemented context submission pv optimizaiton within GVTg. GVTg to read context submission data (elsp_data) from the shared_page directly without trap cost and eliminate execlist HW behavior emulation without injecting context switch interrupt to guest under PV submisison mechanism. v0: RFC. v1:

[Intel-gfx] [PATCH v6 2/8] drm/i915: vgpu shared memory setup for pv optimization

2019-06-02 Thread Xiaolin Zhang
To enable vgpu pv features, we need to setup a shared memory page which will be used for data exchange directly accessed between both guest and backend i915 driver to avoid emulation trap cost. guest i915 will allocate this page memory and then pass it's physical address to backend i915 driver thr

[Intel-gfx] [PATCH v6 6/8] drm/i915/gvt: GVTg handle shared_page setup

2019-06-02 Thread Xiaolin Zhang
GVTg implemented shared_page setup operation and read_shared_page functionality based on hypervisor_read_gpa(). the shared_page_gpa was passed from guest driver through PVINFO shared_page_gpa register. v0: RFC. v1: rebase. v2: rebase. v3: added shared_page_gpa check and if read_gpa failure, retur

[Intel-gfx] [PATCH v6 0/8] i915 vgpu PV to improve vgpu performance

2019-06-02 Thread Xiaolin Zhang
To improve vgpu performance, it could implement some PV optimization such as to reduce the mmio access trap numbers or eliminate certain piece of HW emulation within guest driver to reduce vm exit/vm enter cost. the solutions in this patch set are implemented two PV optimizations based on the shar

[Intel-gfx] [PATCH v6 3/8] drm/i915: vgpu ppgtt update pv optimization

2019-06-02 Thread Xiaolin Zhang
This patch extends vgpu ppgtt g2v notification to notify host GVT-g of ppgtt update from guest including alloc_4lvl, clear_4lv4 and insert_4lvl. These updates use the shared memory page to pass struct pv_ppgtt_update from guest to GVT which is used for pv optimiation implemeation within host GVT s

[Intel-gfx] [PATCH v6 1/8] drm/i915: introduced vgpu pv capability

2019-06-02 Thread Xiaolin Zhang
pv capability for vgpu was introduced by pv_caps in struct i915_virtual_gpu and a new pv_caps register for host GVT was defined in struct vgt_if for vgpu pv optimization. both of them are used to control different feature pv optimization supported and implemented by both guest and host. These fie

[Intel-gfx] [PATCH v6 4/8] drm/i915: vgpu context submission pv optimization

2019-06-02 Thread Xiaolin Zhang
It is performance optimization to override the actual submisison backend in order to eliminate execlists csb process and reduce mmio trap numbers for workload submission without context switch interrupt by talking with GVT via PV submisison notification mechanism between guest and GVT. Use PV_SUBM

[Intel-gfx] [PATCH v6 5/8] drm/i915/gvt: GVTg handle pv_caps PVINFO register

2019-06-02 Thread Xiaolin Zhang
implement pv_caps PVINFO register handler in GVTg to control different level pv optimization within guest. report VGT_CAPS_PV capability in pvinfo page for guest. v0: RFC. v1: rebase. v2: rebase. v3: renamed enable_pvmmio to pvmmio_caps which is used for host pv caps. v4: renamed pvmmio_caps to p

[Intel-gfx] [PATCH v6 7/8] drm/i915/gvt: GVTg support ppgtt pv optimization

2019-06-02 Thread Xiaolin Zhang
This patch handles ppgtt update from g2v notification. It read out ppgtt pte entries from guest pte tables page and convert them to host pfns. It creates local ppgtt tables and insert the content pages into the local ppgtt tables directly, which does not track the usage of guest page table and re

Re: [Intel-gfx] question about i915 GPU driver in VM

2019-06-02 Thread Zhang, Xiong Y
> Hi, > > I'm trying to get iGPU passthrough working in a VM running on a Chrome OS > "7th Generation (Kaby Lake) Intel Core i5-7Y57 with HD Graphics 615" device. > I'm able to pass the iGPU through to the VM and execute the i915 driver, but > the driver doesn't succeed in getting the system to th

Re: [Intel-gfx] linux-next: unable to fetch the drm-intel-fixes tree

2019-06-02 Thread Stephen Rothwell
Hi Stephen, On Mon, 3 Jun 2019 08:20:51 +1000 Stephen Rothwell wrote: > > Hi all, > > Trying to fetch the drm-intel-fixes tree today gives me this error: > > - > fatal: Could not read from remote repository. > > Please make sure

[Intel-gfx] linux-next: unable to fetch the drm-intel-fixes tree

2019-06-02 Thread Stephen Rothwell
Hi all, Trying to fetch the drm-intel-fixes tree today gives me this error: - fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. -

Re: [PATCH 2/2] drm/i915: Skip object locking around a no-op set-domain ioctl

2019-06-02 Thread Serge Belyshev
Hi! > This patch causes lockups in firefox. They appear like non-fatal hangs > of the webpage contents, "fixable" with alt-tab or a background system > load. I have verified that reverting the commit 754a254427 on top of > current Linus tree fixes the problem. This is still broken in v5.2-rc3.

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/perf: fix whitelist on Gen10+

2019-06-02 Thread Patchwork
== Series Details == Series: drm/i915/perf: fix whitelist on Gen10+ URL : https://patchwork.freedesktop.org/series/61467/ State : success == Summary == CI Bug Log - changes from CI_DRM_6179_full -> Patchwork_13155_full Summary --- **

[Intel-gfx] [PATCH i-g-t] i915/gem_ppgtt: Remove defunct test

2019-06-02 Thread Chris Wilson
i915_gem_gtt_info has been removed and so flink-and-exit-vma-leak is defunct. Signed-off-by: Chris Wilson --- tests/i915/gem_ppgtt.c | 43 -- 1 file changed, 43 deletions(-) diff --git a/tests/i915/gem_ppgtt.c b/tests/i915/gem_ppgtt.c index b905ea559..0d4