[Intel-gfx] [PATCH v2] drm/i915: fix screen flickering

2015-05-14 Thread Thomas Gummerer
Commit c9f038a1a592 ("drm/i915: Don't assume primary & cursor are always on for wm calculation (v4)") fixes a null pointer dereference. Setting the primary and cursor panes to false in ilk_compute_wm_parameters to false does however give the following errors in the kernel log and causes the screen

[Intel-gfx] [PATCH i-g-t v2] tests/gem_cpu_reloc: Fix gem_cpu_reloc OOM failure

2015-05-14 Thread Derek Morton
On android with small memory footprints gem_cpu_reloc can fail due to OOM. Refactor gem_cpu_reloc into 2 tests, a basic test which performs 10 relocations and a full test which skips if there is insufficient memory. Changed the memory required test to better estimate the actual RAM used. v2: Add

Re: [Intel-gfx] [PATCH 3/3] drm/i915/bios: be more explicit about discarding iomem address space

2015-05-14 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: shuang...@intel.com) Task id: 6408 -Summary- Platform Delta drm-intel-nightly Series Applied PNV

Re: [Intel-gfx] [PATCH v4] drm/i915/bxt: eDP Panel Power sequencing

2015-05-14 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: shuang...@intel.com) Task id: 6406 -Summary- Platform Delta drm-intel-nightly Series Applied PNV

Re: [Intel-gfx] IP: [] intel_prepare_ddi+0x14e/0x770 [i915]

2015-05-14 Thread Damien Lespiau
On Thu, May 14, 2015 at 07:33:17AM +0100, Winkler, Tomas wrote: >Is this a known issue ? > >IP: [] intel_prepare_ddi+0x14e/0x770 [i915] A good candidate: commit faa0cdbec1c258896bff8bb59051bbada4fd6f09 Author: Imre Deak Date: Fri Apr 17 19:31:22 2015 +0300 drm/i915: fix inte

Re: [Intel-gfx] [PATCH] drm/i915: Unconditionally flush writes before execbuffer

2015-05-14 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: shuang...@intel.com) Task id: 6378 -Summary- Platform Delta drm-intel-nightly Series Applied PNV

[Intel-gfx] Got anyone using lauterbach for kernel debugging?

2015-05-14 Thread Lim, Siew Hoon
Hi, Sorry to ask silly question at here. Got anyone using Lauterbach development tool TRACE32 debugger hardware to do kernel debugging thru USB serial console? If got, can you guys share the setup information? Thanks. Regards, SiewHoon ___ Intel-gfx

[Intel-gfx] [PATCH 1/2] drm/i915: Dump some DPLL fields in pipe config debug

2015-05-14 Thread Tvrtko Ursulin
From: Tvrtko Ursulin v2: Split strings to 80 char, add ddi_pll_sel and fixed typo. (Damien Lespiau) Signed-off-by: Tvrtko Ursulin Cc: Damien Lespiau --- drivers/gpu/drm/i915/intel_display.c | 33 + 1 file changed, 33 insertions(+) diff --git a/drivers/gpu/drm/

[Intel-gfx] [PATCH 2/2] drm/i915: Output scaler related pipe config debug in a single line

2015-05-14 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Just so it is grouped logically in line with other data and makes a rather verbose output a bit shorter. Signed-off-by: Tvrtko Ursulin Reviewed-by: Damien Lespiau --- drivers/gpu/drm/i915/intel_display.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff -

Re: [Intel-gfx] [PATCH 00/11] Skylake display NV12 feature addition

2015-05-14 Thread Tvrtko Ursulin
On 05/14/2015 06:13 AM, Konduru, Chandra wrote: Hi, I have seen review comments from you and addressed/responded to them. Can you please give R-b tag? What about that WARN_ON(fb->pixel_format == DRM_FORMAT_NV12) I am hitting (and subsequent hard hang)? Were you able to repro that? I did reb

Re: [Intel-gfx] [PATCH 1/2] drm/i915: Dump some DPLL fields in pipe config debug

2015-05-14 Thread Damien Lespiau
On Thu, May 14, 2015 at 01:38:31PM +0100, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > v2: Split strings to 80 char, add ddi_pll_sel and fixed typo. (Damien Lespiau) > > Signed-off-by: Tvrtko Ursulin > Cc: Damien Lespiau Reviewed-by: Damien Lespiau > --- > drivers/gpu/drm/i915/intel_di

Re: [Intel-gfx] [PATCH] drm/i915/bxt: edp1.4 Intermediate Freq support

2015-05-14 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: shuang...@intel.com) Task id: 6379 -Summary- Platform Delta drm-intel-nightly Series Applied PNV -3

[Intel-gfx] [PATCH i-g-t] lib: Add a user data pointer to the argument parsing functions

2015-05-14 Thread Damien Lespiau
It can be useful to have one of those to carry state between the handler parsing the options and the rest of the test. Right now the only thing we can do is to use global variables for that. Signed-off-by: Damien Lespiau --- lib/igt_core.c | 17 +++-- lib/igt_core.h

Re: [Intel-gfx] [PATCH v2] drm/i915: fix screen flickering

2015-05-14 Thread Matt Roper
On Thu, May 14, 2015 at 09:16:39AM +0200, Thomas Gummerer wrote: > Commit c9f038a1a592 ("drm/i915: Don't assume primary & cursor are > always on for wm calculation (v4)") fixes a null pointer dereference. > Setting the primary and cursor panes to false in > ilk_compute_wm_parameters to false does h

[Intel-gfx] [PATCH i-g-t] intel_display_crc: A new tool to play with display CRCs

2015-05-14 Thread Damien Lespiau
The CRC debug interface is a bit more than a simple textual file in debugfs as there are a small command language to control what we want from them. This tool starts, slowly, by allowing us to dump the pipe CRCs whenever we want. It can be handy to check what is the current CRC when we reach a cer

[Intel-gfx] [PATCH i-g-t] gem_bad_blit: Make the BAD_GTT_TEST address more than 32 bits

2015-05-14 Thread Damien Lespiau
gem_bad_blit.c: In function ‘bad_blit’: gem_bad_blit.c:89:3: warning: right shift count >= width of type [enabled by default] OUT_BATCH(BAD_GTT_DEST >> 32); /* Upper 16 bits */ Signed-off-by: Damien Lespiau --- tests/gem_bad_blit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [Intel-gfx] [PATCH 4/4] drm/i915: Changes required to enable DSI Video Mode on CHT

2015-05-14 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: shuang...@intel.com) Task id: 6391 -Summary- Platform Delta drm-intel-nightly Series Applied PNV -3

[Intel-gfx] [PATCH i-g-t 3/3] tests: match gem_create prototype in igt_eviction_test_ops create function

2015-05-14 Thread Thomas Wood
This avoids a warning when using gem_create as the create function. Signed-off-by: Thomas Wood --- tests/eviction_common.c | 2 +- tests/gem_userptr_blits.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/eviction_common.c b/tests/eviction_common.c index 6f2f194..9

[Intel-gfx] [PATCH i-g-t 1/3] docs: various documentation fixes

2015-05-14 Thread Thomas Wood
Fix various typos, add missing parameter documentation, include the igt_draw section and update the list of ignored headers. Signed-off-by: Thomas Wood --- docs/reference/intel-gpu-tools/Makefile.am | 3 ++- docs/reference/intel-gpu-tools/intel-gpu-tools-docs.xml | 1 + lib/igt_dr

[Intel-gfx] [PATCH i-g-t 2/3] igt.cocci: don't use igt_assert_neq to compare pointers

2015-05-14 Thread Thomas Wood
igt_assert_neq can only compare integers, not pointers. Signed-off-by: Thomas Wood --- lib/igt.cocci | 2 +- tests/prime_udl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/igt.cocci b/lib/igt.cocci index f23b511..3aee72f 100644 --- a/lib/igt.cocci +++ b/lib/igt.

[Intel-gfx] [PATCH] drm/i915: drrs_invalidate at flip schedule

2015-05-14 Thread Ramalingam C
After scheduling a flip for obj, we are supposed to invalidate the drrs. Action: Adding a call to intel_edp_drrs_invalidate at intel_frontbuffer_flip_prepare. Signed-off-by: Ramalingam C Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/intel_frontbuffer.c |1 + 1 file changed,

[Intel-gfx] Breakage for Ironlake due to some watermarks changes in Linux 4.0+?

2015-05-14 Thread Mario Kleiner
Hi all, since Linux 4.0 i experience some massive display flicker problem on my Intel HD Ironlake mobile (2010 MacBookPro6,2) under Waylands reference compositor Weston. - Only happens on Linux >= 4.0 on intel-kms with the Intel HD, not under nouveau-kms with the discrete NVidia gpu. Strange

Re: [Intel-gfx] [RFC PATCH 00/11] drm/i915: Expose OA metrics via perf PMU

2015-05-14 Thread Robert Bragg
On Fri, May 8, 2015 at 5:24 PM, Peter Zijlstra wrote: > On Thu, May 07, 2015 at 03:15:43PM +0100, Robert Bragg wrote: > >> I've changed the uapi for configuring the i915_oa specific attributes >> when calling perf_event_open(2) whereby instead of cramming lots of >> bitfields into the perf_event_a

Re: [Intel-gfx] [PATCH v5] drm/i915: Avoid GPU Hang when comming out of s3 or s4

2015-05-14 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: shuang...@intel.com) Task id: 6380 -Summary- Platform Delta drm-intel-nightly Series Applied PNV

Re: [Intel-gfx] [PATCH v4] drm/i915: Avoid GPU Hang when comming out of s3 or s4

2015-05-14 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: shuang...@intel.com) Task id: 6380 -Summary- Platform Delta drm-intel-nightly Series Applied PNV

Re: [Intel-gfx] [PATCH] drm/i915: Warn when execlists changes context without IRQs

2015-05-14 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: shuang...@intel.com) Task id: 6381 -Summary- Platform Delta drm-intel-nightly Series Applied PNV

Re: [Intel-gfx] [PATCH] drm/i915/skl: Remove unnecessary local variables in skl_plane_ctl*()

2015-05-14 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: shuang...@intel.com) Task id: 6393 -Summary- Platform Delta drm-intel-nightly Series Applied PNV

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Use HOTPLUG_INT_STATUS_G4X on VLV/CHV

2015-05-14 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: shuang...@intel.com) Task id: 6382 -Summary- Platform Delta drm-intel-nightly Series Applied PNV

Re: [Intel-gfx] [PATCH 8/8] drm/i915/skl: Select DDIA lane capability based upon vbt

2015-05-14 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: shuang...@intel.com) Task id: 6383 -Summary- Platform Delta drm-intel-nightly Series Applied PNV

Re: [Intel-gfx] [PATCH v2 2/2] drm: Make Legacy Context access functions optional.

2015-05-14 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: shuang...@intel.com) Task id: 6394 -Summary- Platform Delta drm-intel-nightly Series Applied PNV -2

Re: [Intel-gfx] [PATCH] drm/i915: Make scaler_id check in check_crtc_state work for all gens

2015-05-14 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: shuang...@intel.com) Task id: 6384 -Summary- Platform Delta drm-intel-nightly Series Applied PNV