Re: [Intel-gfx] [regression] 3.6-rc6, gpu hang with vaapi

2012-10-07 Thread Chen, Chao A
Hi Guilherme, Sorry, I cannot reproduce this issue with the following Env: --- Kernel: (this is the same with yours) Version : 3.6.0rc6_stable_20120919+ Kernel: (drm-intel-fixes)b98b60167279df3acac9422c3c9820d9ebbcf9fb Some addition

Re: [Intel-gfx] [RFC 4/4] drm: add support for raw monotonic vblank timestamps

2012-10-07 Thread Daniel Vetter
On Sat, Oct 06, 2012 at 03:49:16AM +0300, Imre Deak wrote: > On Fri, 2012-10-05 at 18:09 -0600, Rob Clark wrote: > > > > /* Called before vblank count and timestamps have > > * been updated for the vblank interval of flip > > * completion? Need to increment vblank count and > >

Re: [Intel-gfx] [PATCH] drm/i915: Remove the disabling of VHR unit clock gating for HSW

2012-10-07 Thread Daniel Vetter
On Fri, Oct 05, 2012 at 10:40:35AM -0300, Paulo Zanoni wrote: > 2012/10/5 Damien Lespiau : > > From: Damien Lespiau > > > > There's is another register (a read only, so no harm done) at 0x42020 on > > Haswell GPUs. Let's just remove the write from the copy&paste that > > introduced haswell_init_cl

Re: [Intel-gfx] [3.2.y] drm/i915: add Ivy Bridge GT2 Server entries

2012-10-07 Thread Jonathan Nieder
Maik Zumstrull wrote: > On Sun, Oct 7, 2012 at 7:26 PM, Julien Cristau wrote: >> On Mon, Oct 1, 2012 at 03:24:32 -0700, Jonathan Nieder wrote: >>> - without this patch, modern X errors out instead of starting, [...] >> I'd expect X to start with vesa or fbdev, rather than erroring out? > > Ther

Re: [Intel-gfx] [3.2.y] drm/i915: add Ivy Bridge GT2 Server entries

2012-10-07 Thread Julien Cristau
On Mon, Oct 1, 2012 at 03:24:32 -0700, Jonathan Nieder wrote: > - without this patch, modern X errors out instead of starting, >because the intel driver requires kms. (In a hypothetical better >world, userspace would know to fall back to vesa or something.) > I'd expect X to start with

Re: [Intel-gfx] [3.2.y] drm/i915: add Ivy Bridge GT2 Server entries

2012-10-07 Thread Ben Hutchings
On Sun, 2012-10-07 at 15:11 +0100, Chris Wilson wrote: > On Sun, 07 Oct 2012 15:01:17 +0100, Ben Hutchings > wrote: > > On Mon, 2012-10-01 at 03:24 -0700, Jonathan Nieder wrote: > > > Hi Ben, > > > > > > Please consider > > > > > > cc22a938fc1d drm/i915: add Ivy Bridge GT2 Server entries, 201

Re: [Intel-gfx] [3.2.y] drm/i915: add Ivy Bridge GT2 Server entries

2012-10-07 Thread Ben Hutchings
On Mon, 2012-10-01 at 03:24 -0700, Jonathan Nieder wrote: > Hi Ben, > > Please consider > > cc22a938fc1d drm/i915: add Ivy Bridge GT2 Server entries, 2012-03-29 > > for application to the 3.2.y tree. It adds a PCI id to the i915 > driver, making kms work. It was applied during the 3.4-rc2 cy

Re: [Intel-gfx] [RFC 4/4] drm: add support for raw monotonic vblank timestamps

2012-10-07 Thread Rob Clark
On Fri, Oct 5, 2012 at 5:41 PM, Imre Deak wrote: > On Fri, 2012-10-05 at 16:18 -0600, Rob Clark wrote: >> On Fri, Oct 5, 2012 at 7:37 AM, Imre Deak wrote: >> > diff --git a/drivers/gpu/drm/i915/intel_display.c >> > b/drivers/gpu/drm/i915/intel_display.c >> > index ab1ef15..056e810 100644 >> > --

Re: [Intel-gfx] [RFC 4/4] drm: add support for raw monotonic vblank timestamps

2012-10-07 Thread Rob Clark
On Fri, Oct 5, 2012 at 7:37 AM, Imre Deak wrote: > diff --git a/drivers/gpu/drm/i915/intel_display.c > b/drivers/gpu/drm/i915/intel_display.c > index ab1ef15..056e810 100644 > --- a/drivers/gpu/drm/i915/intel_display.c > +++ b/drivers/gpu/drm/i915/intel_display.c > @@ -6247,7 +6247,6 @@ static vo

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Align the retire_requests worker to the nearest second

2012-10-07 Thread Arjan van de Ven
On 10/5/2012 6:53 AM, Chris Wilson wrote: > By using round_jiffies() we can align the wakeup of our worker to the > nearest second in order to batch wakeups and reduce system load, which > is useful for unimportant coarse tasks like our retire_requests. > > Suggested-by: Arjan van de Ven > Signed

Re: [Intel-gfx] [RFC 4/4] drm: add support for raw monotonic vblank timestamps

2012-10-07 Thread Michel Dänzer
On Fre, 2012-10-05 at 16:59 +0300, Imre Deak wrote: > On Fri, 2012-10-05 at 15:55 +0200, Michel Dänzer wrote: > > On Fre, 2012-10-05 at 16:37 +0300, Imre Deak wrote: > > > In practice we never want the timestamps for vblank and page flip events > > > to be affected by time adjustments, so in addi

Re: [Intel-gfx] [RFC 4/4] drm: add support for raw monotonic vblank timestamps

2012-10-07 Thread Michel Dänzer
On Fre, 2012-10-05 at 16:37 +0300, Imre Deak wrote: > In practice we never want the timestamps for vblank and page flip events > to be affected by time adjustments, so in addition to the gettimeofday > timestamps we used so far add support for raw monotonic timestamps. > > For backward compatibil

Re: [Intel-gfx] i915 problems with suspend to disk

2012-10-07 Thread Hugo Mills
On Thu, Oct 04, 2012 at 09:31:39PM +0200, Daniel Vetter wrote: > On Thu, Oct 04, 2012 at 08:20:17PM +0100, Hugo Mills wrote: > >On 3.6, I've got a problem with my video driver after resuming from > > suspend-to-disk: the lower part of the display flickers, rapidly but > > irregularly (think of

Re: [Intel-gfx] [RFC] [PATCH 00/14] HPD/connector-polling rework

2012-10-07 Thread Alex Deucher
On Thu, Oct 4, 2012 at 1:16 PM, Daniel Vetter wrote: > On Thu, Oct 04, 2012 at 12:07:01PM -0400, Alex Deucher wrote: >> On Thu, May 24, 2012 at 3:26 PM, Daniel Vetter >> wrote: >> > Hi all, >> > >> > I've got fed up with our sorry state of connector detection and rampant >> > edid re >> > and r

Re: [Intel-gfx] [RFC] [PATCH 00/14] HPD/connector-polling rework

2012-10-07 Thread Alex Deucher
On Thu, May 24, 2012 at 3:26 PM, Daniel Vetter wrote: > Hi all, > > I've got fed up with our sorry state of connector detection and rampant edid > re > and rere-reading. > > This patch series lays the groundwork in the drm helpers so that drivers can > avoid all this madness (at least on working

[Intel-gfx] i915 problems with suspend to disk

2012-10-07 Thread Hugo Mills
Hi, On 3.6, I've got a problem with my video driver after resuming from suspend-to-disk: the lower part of the display flickers, rapidly but irregularly (think of a neon sign in a bad film noir), flicking between the correct display and... something else, it's hard to see what. Shutting

[Intel-gfx] [PATCH] drm/i915: Set guardband clipping workaround bit in the right register.

2012-10-07 Thread Kenneth Graunke
A previous patch, namely: commit bf97b276ca04cee9ab65ffd378fa8e6aedd71ff6 Author: Daniel Vetter Date: Wed Apr 11 20:42:41 2012 +0200 drm/i915: implement w/a for incorrect guarband clipping accidentally set bit 5 in 3D_CHICKEN, which has nothing to do with clipping. This patch changes it

Re: [Intel-gfx] [3.2.y] drm/i915: add Ivy Bridge GT2 Server entries

2012-10-07 Thread Chris Wilson
On Sun, 07 Oct 2012 15:01:17 +0100, Ben Hutchings wrote: > On Mon, 2012-10-01 at 03:24 -0700, Jonathan Nieder wrote: > > Hi Ben, > > > > Please consider > > > > cc22a938fc1d drm/i915: add Ivy Bridge GT2 Server entries, 2012-03-29 > > > > for application to the 3.2.y tree. It adds a PCI id to