[Intel-gfx] [PATCH] drm/i915: tune down Y tiling scanout warning

2013-04-06 Thread Daniel Vetter
Userspace can easily hit this and does since Ville added a new evil igt testcase in: commit 069e35e0fc3785faa562adcfd2dd7bbed4cb1dea Author: Ville Syrjälä Date: Mon Mar 4 15:34:06 2013 +0200 kms_flip: Add flip-vs-bad-tiling test v2: Fix the spelling in the added comment (Chris). Cc: Vill

Re: [Intel-gfx] [PATCH] drm/i915: tune down Y tiling scanout warning

2013-04-06 Thread Chris Wilson
On Sat, Apr 06, 2013 at 07:44:45PM +0200, Daniel Vetter wrote: > On Thu, Apr 04, 2013 at 05:42:52PM +0100, Chris Wilson wrote: > > On Thu, Apr 04, 2013 at 06:13:08PM +0200, Daniel Vetter wrote: > > > Userspace can easily hit this and does since Ville added a new evil > > > igt testcase in: > > > >

Re: [Intel-gfx] [PATCH 1/3] drm/i915: fix lost FP_CB_TUNE setting for pch plls

2013-04-06 Thread Daniel Vetter
On Fri, Apr 05, 2013 at 04:52:28PM -0300, Paulo Zanoni wrote: > Hi > > 2013/4/4 Daniel Vetter : > > commit de13a2e3f88a4da8e85063b6de37096795079e41 > > Author: Paulo Zanoni > > Date: Thu Sep 20 18:36:05 2012 -0300 > > > > drm/i915: extract compute_dpll from ironlake_crtc_mode_set > > > > mi

Re: [Intel-gfx] [PATCH] drm/i915: tune down Y tiling scanout warning

2013-04-06 Thread Daniel Vetter
On Thu, Apr 04, 2013 at 05:42:52PM +0100, Chris Wilson wrote: > On Thu, Apr 04, 2013 at 06:13:08PM +0200, Daniel Vetter wrote: > > Userspace can easily hit this and does since Ville added a new evil > > igt testcase in: > > Scre? :-p Context is lost on me here ... -Daniel -- Daniel Vetter Softwa

Re: [Intel-gfx] [PATCH] drm/i915: Fix SDVO connector and encoder get_hw_state functions

2013-04-06 Thread Daniel Vetter
On Thu, Apr 04, 2013 at 04:04:02PM -0400, Egbert Eich wrote: > From: Egbert Eich > > The connector associated with the encoder is considered active when the > output associtated with this connector is active on the encoder. The > encoder itself is considered active when either there is an active

Re: [Intel-gfx] [PATCH 7/7] drm/i915: Add a pipeless ivybridge configuration

2013-04-06 Thread Daniel Vetter
On Fri, Apr 05, 2013 at 01:12:45PM -0700, Ben Widawsky wrote: > FIXME: This is based on some HW being used for a demo. We should > probably wait until we have confirmation on the IDs before upstreaming > this patch. > > v2: Use GEN7_FEATURES (Chris) > > Signed-off-by: Ben Widawsky Slurped in en

Re: [Intel-gfx] [PATCH 4/7] drm/i915: PCH_NOP suspend/resume

2013-04-06 Thread Daniel Vetter
On Fri, Apr 05, 2013 at 01:12:42PM -0700, Ben Widawsky wrote: > More registers we can't write. > > Signed-off-by: Ben Widawsky Fixed up a minor bug (at least I think it's one) in the irq uninstall code. Note that this is also run on gpu hangs and resume, so relevant. Also there's been a little

Re: [Intel-gfx] BUG: kworker hangs the GPU on drm and i915 since 3.8.x under X11

2013-04-06 Thread Georgios Amanakis
Thanks for all your efforts. It is really fun to see such an immediate response. Daniel Vetter wrote: >On Sat, Apr 6, 2013 at 6:24 PM, George Amanakis wrote: >> Indeed, I set explicitly drm_kms_helper.poll=0 since 2.35.x. See here: >> http://souriguha.wordpress.com/2011/03/08/how-to-solve-probl

[Intel-gfx] Updated testing tree

2013-04-06 Thread Daniel Vetter
Hi all, Updated testing tree for -next. Highlights: - Corner case fixes discovered with static analyzers (Damien). - More fixes to combat unclaimed register errors on Haswell (Paulo). - Some small fixes to the gpu turbo code (Rodrigo+Ben), Ben has more patches for overclocking support pending. -

Re: [Intel-gfx] BUG: kworker hangs the GPU on drm and i915 since 3.8.x under X11

2013-04-06 Thread Daniel Vetter
On Sat, Apr 6, 2013 at 6:24 PM, George Amanakis wrote: > Indeed, I set explicitly drm_kms_helper.poll=0 since 2.35.x. See here: > http://souriguha.wordpress.com/2011/03/08/how-to-solve-problem-with-thinkpadkslowd-kworker-on-linux-kernel-2-35-2-36/ > > Mouse and keyboard freezes intermittently some

Re: [Intel-gfx] BUG: kworker hangs the GPU on drm and i915 since 3.8.x under X11

2013-04-06 Thread George Amanakis
Indeed, I set explicitly drm_kms_helper.poll=0 since 2.35.x. See here: http://souriguha.wordpress.com/2011/03/08/how-to-solve-problem-with-thinkpadkslowd-kworker-on-linux-kernel-2-35-2-36/ Mouse and keyboard freezes intermittently some time after boot up. Actually the problem has to do with the G

[Intel-gfx] [PATCH] tests/kms_flip: don't leak gpu hang state

2013-04-06 Thread Daniel Vetter
We need to clear out the error_state. While at it also make sure that the hang was indeed detected. Whoever writes the next test to race against gpu hangs should probably extract these two functions into the drmtest library. Which just one user that's not really worth it right now. Signed-off-by:

[Intel-gfx] [PATCH] drm/kms-helper: disable hpd_irq handling when poll=0

2013-04-06 Thread Daniel Vetter
When inlining the actual hpd output probing in commit 69787f7da6b2adc4054357a661aaa1701a9ca76f Author: Daniel Vetter Date: Tue Oct 23 18:23:34 2012 + drm: run the hpd irq event code directly the check for the drm_kms_hlper.poll module option was lost. This regressed systems where this

Re: [Intel-gfx] BUG: kworker hangs the GPU on drm and i915 since 3.8.x under X11

2013-04-06 Thread Daniel Vetter
On Sat, Apr 6, 2013 at 12:01 AM, George Amanakis wrote: > I mean that I can type, move the mouse pointer, open new windows but there > is a lag until these changes are displayed. Stuttering like. > > I ended up not reverting the aforementioned commit but modifying it. This > also solves the issue.

[Intel-gfx] [ANNOUNCE] xf86-video-intel 2.21.6

2013-04-06 Thread Chris Wilson
Release 2.21.6 (2013-04-06) === A surprising highlight of this release is a little refresh to the KMS support for OpenBSD. OpenBSD now has its own KMS implementation which is mostly compatible with the interface in Linux, with one or two tweaks supplied by Mark Kettenis. Th

[Intel-gfx] [PATCH] drm/i915: info level for simulated gpu hang dmesg notice

2013-04-06 Thread Daniel Vetter
Otherwise running igt will fill your dmesg with hang notices and it's hard to judge from a quick look whether they're expected or not. Signed-off-by: Daniel Vetter --- drivers/gpu/drm/i915/i915_drv.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915