Re: [Intel-gfx] [PATCH V4 3/6] mdev: introduce device specific ops

2019-10-20 Thread Jason Wang
On 2019/10/21 上午7:41, Parav Pandit wrote: -Original Message- From: Jason Wang Sent: Thursday, October 17, 2019 5:49 AM To: k...@vger.kernel.org; linux-s...@vger.kernel.org; linux- ker...@vger.kernel.org; dri-de...@lists.freedesktop.org; intel- g...@lists.freedesktop.org; intel-gvt-...

Re: [Intel-gfx] [PATCH V4 5/6] virtio: introduce a mdev based transport

2019-10-20 Thread Jason Wang
On 2019/10/18 下午10:20, Cornelia Huck wrote: On Thu, 17 Oct 2019 18:48:35 +0800 Jason Wang wrote: This patch introduces a new mdev transport for virtio. This is used to use kernel virtio driver to drive the mediated device that is capable of populating virtqueue directly. A new virtio-mdev dr

Re: [Intel-gfx] [PATCH 2/2] drm/i915/gvt: Wean gvt off dev_priv->engine[]

2019-10-20 Thread Zhenyu Wang
On 2019.10.16 19:39:02 +0100, Chris Wilson wrote: > Stop trying to escape out of the gvt layer to find the engine that we > initially setup for use with gvt. Record the engines during initialisation > and use them henceforth. > > add/remove: 1/4 grow/shrink: 22/28 up/down: 341/-1410 (-1069) > > S

Re: [Intel-gfx] [PATCH V4 4/6] mdev: introduce virtio device and its device ops

2019-10-20 Thread Jason Wang
On 2019/10/18 下午9:30, Cornelia Huck wrote: On Fri, 18 Oct 2019 18:55:02 +0800 Jason Wang wrote: On 2019/10/18 下午5:46, Cornelia Huck wrote: On Thu, 17 Oct 2019 18:48:34 +0800 Jason Wang wrote: + * @get_vendor_id: Get virtio vendor id + * @mdev: mediat

Re: [Intel-gfx] [PATCH 1/2] drm/i915/gvt: Wean off struct_mutex

2019-10-20 Thread Zhenyu Wang
On 2019.10.16 19:39:01 +0100, Chris Wilson wrote: > Use the local vgpu_lock while preparing workloads to avoid taking the > obsolete i915->drm.struct_mutex > > Signed-off-by: Chris Wilson > --- Looks good to me. Sorry for late reply as just be back from vacation. Reviewed-by: Zhenyu Wang > d

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Try to re-use GOP / previous M-N-P settings for vlv DSI PLL

2019-10-20 Thread Patchwork
== Series Details == Series: drm/i915: Try to re-use GOP / previous M-N-P settings for vlv DSI PLL URL : https://patchwork.freedesktop.org/series/68286/ State : success == Summary == CI Bug Log - changes from CI_DRM_7136_full -> Patchwork_14898_full

[Intel-gfx] ✗ Fi.CI.IGT: failure for kernel-doc: rename the kernel-doc directive 'functions' to 'identifiers'

2019-10-20 Thread Patchwork
== Series Details == Series: kernel-doc: rename the kernel-doc directive 'functions' to 'identifiers' URL : https://patchwork.freedesktop.org/series/68277/ State : failure == Summary == CI Bug Log - changes from CI_DRM_7136_full -> Patchwork_14896_full =

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Extract GT ring management (rev2)

2019-10-20 Thread Patchwork
== Series Details == Series: drm/i915: Extract GT ring management (rev2) URL : https://patchwork.freedesktop.org/series/68270/ State : failure == Summary == CI Bug Log - changes from CI_DRM_7136 -> Patchwork_14899 Summary --- **FAILU

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Extract GT ring management (rev2)

2019-10-20 Thread Patchwork
== Series Details == Series: drm/i915: Extract GT ring management (rev2) URL : https://patchwork.freedesktop.org/series/68270/ State : warning == Summary == $ dim checkpatch origin/drm-tip f012561a7b16 drm/i915: Extract GT ring management -:49: WARNING:FILE_PATH_CHANGES: added, moved or delete

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Try to re-use GOP / previous M-N-P settings for vlv DSI PLL

2019-10-20 Thread Patchwork
== Series Details == Series: drm/i915: Try to re-use GOP / previous M-N-P settings for vlv DSI PLL URL : https://patchwork.freedesktop.org/series/68286/ State : success == Summary == CI Bug Log - changes from CI_DRM_7136 -> Patchwork_14898

[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [1/3] dma-buf: Prettify typecasts for dma-fence-chain

2019-10-20 Thread Patchwork
== Series Details == Series: series starting with [1/3] dma-buf: Prettify typecasts for dma-fence-chain URL : https://patchwork.freedesktop.org/series/68274/ State : success == Summary == CI Bug Log - changes from CI_DRM_7136_full -> Patchwork_14895_full ==

[Intel-gfx] [CI] drm/i915: Extract GT ring management

2019-10-20 Thread Chris Wilson
From: Andi Shyti Although the ring management is much smaller compared to the other GT power management functions, continue the theme of extracting it out of the huge intel_pm.c for maintenance. Based on a patch by Chris Wilson. Signed-off-by: Andi Shyti Cc: Chris Wilson Reviewed-by: Chris Wi

[Intel-gfx] ✓ Fi.CI.BAT: success for kernel-doc: rename the kernel-doc directive 'functions' to 'identifiers'

2019-10-20 Thread Patchwork
== Series Details == Series: kernel-doc: rename the kernel-doc directive 'functions' to 'identifiers' URL : https://patchwork.freedesktop.org/series/68277/ State : success == Summary == CI Bug Log - changes from CI_DRM_7136 -> Patchwork_14896 ===

[Intel-gfx] ✗ Fi.CI.BUILD: failure for drm/i915: Program LUT before intel_color_commit() if LUT was not previously set

2019-10-20 Thread Patchwork
== Series Details == Series: drm/i915: Program LUT before intel_color_commit() if LUT was not previously set URL : https://patchwork.freedesktop.org/series/68278/ State : failure == Summary == Applying: drm/i915: Program LUT before intel_color_commit() if LUT was not previously set Using ind

[Intel-gfx] [PATCH] drm/i915: Try to re-use GOP / previous M-N-P settings for vlv DSI PLL

2019-10-20 Thread Hans de Goede
Fastboot is not working on an Asus T100HA, it gives the following relevant messages / errors: dsi pll div 000201e6, ctrl 80080100 fastset mismatch in dsi_pll.ctrl (expected 0x80100100, found 0x80080100) fastset mismatch in dsi_pll.div (expected 0x0002008e, found 0x000201e6) The problem seems t

[Intel-gfx] [PATCH] drm/i915: Program LUT before intel_color_commit() if LUT was not previously set

2019-10-20 Thread Hans de Goede
Since commit 051a6d8d3ca0 ("drm/i915: Move LUT programming to happen after vblank waits"), I am seeing an ugly colored flash of the first few display lines on 2 Cherry Trail devices when the gamma table gets set for the first time. A blue flash on a GPD win and a yellow flash on an Asus T100HA. Th

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for kernel-doc: rename the kernel-doc directive 'functions' to 'identifiers'

2019-10-20 Thread Patchwork
== Series Details == Series: kernel-doc: rename the kernel-doc directive 'functions' to 'identifiers' URL : https://patchwork.freedesktop.org/series/68277/ State : warning == Summary == $ dim checkpatch origin/drm-tip 5c039a1a525e kernel-doc: rename the kernel-doc directive 'functions' to 'id

[Intel-gfx] [PATCH v2] kernel-doc: rename the kernel-doc directive 'functions' to 'identifiers'

2019-10-20 Thread Changbin Du
The 'functions' directive is not only for functions, but also works for structs/unions. So the name is misleading. This patch renames it to 'identifiers', which specific the functions/types to be included in documentation. We keep the old name as an alias of the new one before all documentation are

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/3] dma-buf: Prettify typecasts for dma-fence-chain

2019-10-20 Thread Patchwork
== Series Details == Series: series starting with [1/3] dma-buf: Prettify typecasts for dma-fence-chain URL : https://patchwork.freedesktop.org/series/68274/ State : success == Summary == CI Bug Log - changes from CI_DRM_7136 -> Patchwork_14895

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/3] dma-buf: Prettify typecasts for dma-fence-chain

2019-10-20 Thread Patchwork
== Series Details == Series: series starting with [1/3] dma-buf: Prettify typecasts for dma-fence-chain URL : https://patchwork.freedesktop.org/series/68274/ State : warning == Summary == $ dim checkpatch origin/drm-tip 2de26a630d27 dma-buf: Prettify typecasts for dma-fence-chain aa2250c9512d

[Intel-gfx] [PATCH 3/3] dma-buf: Exercise dma-fence-chain under selftests

2019-10-20 Thread Chris Wilson
A few very simple testcases to exercise the dma-fence-chain API. Signed-off-by: Chris Wilson --- drivers/dma-buf/Makefile | 3 +- drivers/dma-buf/selftests.h | 1 + drivers/dma-buf/st-dma-fence-chain.c | 713 +++ 3 files changed, 716 insertions(+)

[Intel-gfx] [PATCH 1/3] dma-buf: Prettify typecasts for dma-fence-chain

2019-10-20 Thread Chris Wilson
Inside dma-fence-chain, we use a cmpxchg on an RCU-protected pointer. To avoid the sparse warning for using the RCU pointer directly, we have to cast away the __rcu annotation. However, we don't need to use void* everywhere and can stick to the dma_fence*. Signed-off-by: Chris Wilson --- drivers

[Intel-gfx] [PATCH 2/3] dma-buf: Report signaled links inside dma-fence-chain

2019-10-20 Thread Chris Wilson
Whenever we walk along the dma-fence-chain, we prune signaled links to keep the chain nice and tidy. This leads to situations where we can prune a link and report the earlier fence as the target seqno -- violating our own consistency checks that the seqno is not more advanced than the last element

Re: [Intel-gfx] [PATCH] drm/i915: Extract GT ring management

2019-10-20 Thread Chris Wilson
Quoting Andi Shyti (2019-10-20 01:50:45) > From: Andi Shyti > > Although the ring management is much smaller compared to the other GT > power management functions, continue the theme of extracting it out of > the huge intel_pm.c for maintenance. > > Based on a patch by Chris Wilson. > > Signed-

Re: [Intel-gfx] [PATCH] drm/i915/perf: fix oa config reconfiguration

2019-10-20 Thread Chris Wilson
Quoting Lionel Landwerlin (2019-10-19 22:46:47) > The current logic just reapplies the same configuration already stored > into stream->oa_config instead of the newly selected one. > > Signed-off-by: Lionel Landwerlin > Fixes: 7831e9a965ea ("drm/i915/perf: Allow dynamic reconfiguration of the OA