Re: [Intel-gfx] [PATCH] drm/i915: Unset legacy_cursor_update early in intel_atomic_commit, v2.

2017-09-19 Thread Maarten Lankhorst
Op 18-09-17 om 17:03 schreef Ville Syrjälä: > On Mon, Sep 18, 2017 at 12:12:50PM +0200, Maarten Lankhorst wrote: >> Commit b44d5c0c105a ("drm/i915: Always wait for flip_done, v2.") removed >> the call to wait_for_vblanks and replaced it with flip_done. >> >> Unfortunately legacy_cursor_update was u

[Intel-gfx] ✗ Fi.CI.IGT: warning for series starting with [1/2] drm/i915: Only wake the waiter from the interrupt if passed

2017-09-19 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915: Only wake the waiter from the interrupt if passed URL : https://patchwork.freedesktop.org/series/30540/ State : warning == Summary == Test perf: Subgroup polling: fail -> PASS (shard-hsw) fdo

Re: [Intel-gfx] [PATCH 1/2] drm/i915: Enable scanline read for gen9 dsi

2017-09-19 Thread Shankar, Uma
>-Original Message- >From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of >Maarten Lankhorst >Sent: Tuesday, September 19, 2017 12:56 PM >To: Ville Syrjälä >Cc: intel-gfx@lists.freedesktop.org; Srinivas, Vidya >Subject: Re: [Intel-gfx] [PATCH 1/2] drm/i915: Enab

Re: [Intel-gfx] [PATCH 7/8] drm/i915/pmu: Wire up engine busy stats to PMU

2017-09-19 Thread Tvrtko Ursulin
On 18/09/2017 15:58, Chris Wilson wrote: Quoting Tvrtko Ursulin (2017-09-18 12:38:13) diff --git a/drivers/gpu/drm/i915/i915_pmu.c b/drivers/gpu/drm/i915/i915_pmu.c index b7de6fe3cac7..ffba21eeb5d0 100644 --- a/drivers/gpu/drm/i915/i915_pmu.c +++ b/drivers/gpu/drm/i915/i915_pmu.c @@ -90,6 +90,1

[Intel-gfx] [PATCH v7 8/8] drm/i915: Gate engine stats collection with a static key

2017-09-19 Thread Tvrtko Ursulin
From: Tvrtko Ursulin This reduces the cost of the software engine busyness tracking to a single no-op instruction when there are no listeners. v2: Rebase and some comments. v3: Rebase. v4: Checkpatch fixes. v5: Rebase. v6: Use system_long_wq to avoid being blocked by struct_mutex users. v7:

Re: [Intel-gfx] [PATCH i-g-t 5/5] tests/perf_pmu: Tests for i915 PMU API

2017-09-19 Thread Tvrtko Ursulin
On 18/09/2017 14:17, Chris Wilson wrote: Quoting Tvrtko Ursulin (2017-09-18 12:38:40) From: Tvrtko Ursulin A bunch of tests for the new i915 PMU feature. Parts of the code were initialy sketched by Dmitry Rogozhkin. Signed-off-by: Tvrtko Ursulin Cc: Chris Wilson Cc: Dmitry Rogozhkin ---

Re: [Intel-gfx] [PATCH] drm/i915: Rename global i915 to i915_modparams

2017-09-19 Thread Joonas Lahtinen
On Mon, 2017-09-18 at 22:07 +0200, Michal Wajdeczko wrote: > On Mon, 18 Sep 2017 21:11:40 +0200, Jani Nikula > wrote: > > > On Mon, 18 Sep 2017, Michal Wajdeczko wrote: > > > Our global struct with params is named exactly the same way > > > as new preferred name for the drm_i915_private functi

Re: [Intel-gfx] [PATCH] drm/i915: Rename global i915 to i915_modparams

2017-09-19 Thread Jani Nikula
On Mon, 18 Sep 2017, Michal Wajdeczko wrote: > On Mon, 18 Sep 2017 21:11:40 +0200, Jani Nikula > wrote: > >> On Mon, 18 Sep 2017, Michal Wajdeczko wrote: >>> Our global struct with params is named exactly the same way >>> as new preferred name for the drm_i915_private function parameter. >>> T

Re: [Intel-gfx] [PATCH i-g-t 5/5] tests/perf_pmu: Tests for i915 PMU API

2017-09-19 Thread Tvrtko Ursulin
On 18/09/2017 22:18, Rogozhkin, Dmitry V wrote: Did you try tests on the system with 2 VDBOX engines? On my side 2 tests are failing on SKL GT4e NUC: Nope. (perf_pmu:5414) CRITICAL: Test assertion failure function busy_check_all, file perf_pmu.c:164: (perf_pmu:5414) CRITICAL: Failed assertio

Re: [Intel-gfx] [PATCH v4 00/8] i915 PMU and engine busy stats

2017-09-19 Thread Tvrtko Ursulin
On 18/09/2017 16:37, Chris Wilson wrote: Quoting Tvrtko Ursulin (2017-09-18 12:38:06) From: Tvrtko Ursulin Fourth spin of the i915 PMU series. Now with the RFC tag removed. Just to dump one idea that I wanted to report in the overlay: rate of object allocation, deallocation; pages pinned, u

Re: [Intel-gfx] [PATCH] drm: add backwards compatibility support for drm_kms_helper.edid_firmware

2017-09-19 Thread Jani Nikula
On Mon, 18 Sep 2017, Ville Syrjälä wrote: > On Mon, Sep 18, 2017 at 09:20:03PM +0300, Jani Nikula wrote: >> Add drm_kms_helper.edid_firmware module parameter with param ops hooks >> to set drm.edid_firmware instead, for backwards compatibility. >> >> Suggested-by: Ville Syrjälä >> Cc: Abdiel Jan

[Intel-gfx] [PATCH v4 3/3] drm/i915/gvt: Use debug_gvt to classify GVT-g log messages

2017-09-19 Thread Shuo Liu
Add a silimar log mechanism as like drm. Classify GVT-g log messages as different categories by differnt log functions. Signed-off-by: Shuo Liu --- drivers/gpu/drm/i915/Kconfig | 8 +++ drivers/gpu/drm/i915/gvt/Makefile | 1 + drivers/gpu/drm/i915/gvt/debug.c | 24 +++

[Intel-gfx] [PATCH v4 2/3] drm/i915/gvt: Change log function of kvmgt to common ones

2017-09-19 Thread Shuo Liu
This can remove the dependence of i915 module if we change gvt_dbg_* to function in i915 module. Signed-off-by: Shuo Liu --- drivers/gpu/drm/i915/gvt/kvmgt.c | 55 ++-- 1 file changed, 36 insertions(+), 19 deletions(-) diff --git a/drivers/gpu/drm/i915/gvt/kv

[Intel-gfx] [PATCH v4 1/3] drm/i915/gvt: Add gvt_debug in i915_params for GVT-g log classification

2017-09-19 Thread Shuo Liu
Signed-off-by: Shuo Liu --- drivers/gpu/drm/i915/i915_params.c | 13 + drivers/gpu/drm/i915/i915_params.h | 1 + 2 files changed, 14 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_params.c b/drivers/gpu/drm/i915/i915_params.c index 8ab003d..ceeae1d 100644 --- a/drivers/gpu/dr

Re: [Intel-gfx] [PATCH 1/2] drm/i915: Enable scanline read for gen9 dsi

2017-09-19 Thread Maarten Lankhorst
Op 18-09-17 om 16:24 schreef Ville Syrjälä: > On Mon, Sep 18, 2017 at 03:57:38PM +0200, Maarten Lankhorst wrote: >> Op 18-09-17 om 15:32 schreef Vidya Srinivas: >>> From: Uma Shankar >>> >>> For gen9 platforms, dsi timings are driven from port instead of pipe >>> (unlike ddi). Thus, we can't rely

<    1   2   3