Re: [Intel-gfx] frequent x crashes with gen6/sna

2011-10-18 Thread Daniel Vetter
On Tue, Oct 18, 2011 at 09:52:32AM +0200, Dieter Mummenschanz wrote: > I've installed your libva patch: > > libva: libva version 0.32.0 > libva: va_getDriverName() returns 0 > libva: Trying to open /usr/local/lib/dri/i965_drv_video.so > libva: va_openDriver() returns 0 > vainfo: VA API version: 0.

Re: [Intel-gfx] [PATCH] drm/i915: switch ring->id to be a real id

2011-10-18 Thread Chris Wilson
On Tue, 11 Oct 2011 19:29:27 +0200, Daniel Vetter wrote: > ... and add a helpr function for the places where we want a flag. > > This way we can use ring->id to index into arrays. > > v2: Resurrect the missing beautification-space Chris Wilson noted. > I'm moving this space around because I'll

Re: [Intel-gfx] [PATCH] drm/i915: don't bail out of intel_wait_ring_buffer too early

2011-10-18 Thread Chris Wilson
On Tue, 11 Oct 2011 19:25:57 +0200, Daniel Vetter wrote: > In the pre-gem days with non-existing hangcheck and gpu reset code, > this timeout of 3 seconds was pretty important to avoid stuck > processes. > > But now we have the hangcheck code in gem that goes to great length > to ensure that the

Re: [Intel-gfx] [PATCH 4/4] drm/i915: ILK + VT-d workaround

2011-10-18 Thread Ben Widawsky
On Tue, 18 Oct 2011 09:24:41 +0200 Paul Menzel wrote: > Am Montag, den 17.10.2011, 15:51 -0700 schrieb Ben Widawsky: > > Idle the GPU before doing any unmaps. We know if VT-d is in use through > > an exported variable from iommu code. > > > > This should avoid a known HW issue. > > Please descr

Re: [Intel-gfx] [PATCH] Check if the bus is valid prior to discovering edid.

2011-10-18 Thread Dave Airlie
On Thu, Oct 13, 2011 at 9:36 PM, Eugeni Dodonov wrote: > On Thu, Oct 13, 2011 at 17:34, Adam Jackson wrote: >> >> On Thu, 2011-10-13 at 15:11 -0300, Eugeni Dodonov wrote: >> >> > diff --git a/drivers/gpu/drm/i915/intel_i2c.c >> > b/drivers/gpu/drm/i915/intel_i2c.c >> > index d98cee6..b3a6eda 1006

Re: [Intel-gfx] frequent x crashes with gen6/sna

2011-10-18 Thread Dieter Mummenschanz
Hi Daniel, I've installed your libva patch: libva: libva version 0.32.0 libva: va_getDriverName() returns 0 libva: Trying to open /usr/local/lib/dri/i965_drv_video.so libva: va_openDriver() returns 0 vainfo: VA API version: 0.32 vainfo: Driver version: Intel i965 driver - 1.0.15.pre1 No Changes.

Re: [Intel-gfx] [PATCH 4/4] drm/i915: ILK + VT-d workaround

2011-10-18 Thread Daniel Vetter
On Mon, Oct 17, 2011 at 03:51:55PM -0700, Ben Widawsky wrote: > Idle the GPU before doing any unmaps. We know if VT-d is in use through > an exported variable from iommu code. > > This should avoid a known HW issue. > > Signed-off-by: Ben Widawsky > --- Reviewed-by: Daniel Vetter -- Daniel Vet

Re: [Intel-gfx] [PATCH 4/4] drm/i915: ILK + VT-d workaround

2011-10-18 Thread Paul Menzel
Am Montag, den 17.10.2011, 15:51 -0700 schrieb Ben Widawsky: > Idle the GPU before doing any unmaps. We know if VT-d is in use through > an exported variable from iommu code. > > This should avoid a known HW issue. Please describe the issue more in detail or provide a link to more information. >