Re: [Intel-gfx] [PATCH 1/2] drm/i915: re-enable semaphores by default

2011-11-29 Thread Daniel Vetter
On Tue, Nov 22, 2011 at 06:41, Andrew Lutomirski wrote: > On Thu, Nov 17, 2011 at 1:22 AM, Daniel Vetter wrote: >> Oops, sorry for wasting your time, wrong branch. Can you try the >> for-poland one? And also please try what happens when enabling the >> iommu. > > for-poland with semaphores, rc6,

Re: [Intel-gfx] [PATCH 1/2] drm/i915: re-enable semaphores by default

2011-11-22 Thread Daniel Vetter
On Mon, Nov 21, 2011 at 09:41:26PM -0800, Andrew Lutomirski wrote: > On Thu, Nov 17, 2011 at 1:22 AM, Daniel Vetter wrote: > > Oops, sorry for wasting your time, wrong branch. Can you try the > > for-poland one? And also please try what happens when enabling the > > iommu. > > for-poland with sem

Re: [Intel-gfx] [PATCH 1/2] drm/i915: re-enable semaphores by default

2011-11-21 Thread Andrew Lutomirski
On Thu, Nov 17, 2011 at 1:22 AM, Daniel Vetter wrote: > Oops, sorry for wasting your time, wrong branch. Can you try the > for-poland one? And also please try what happens when enabling the > iommu. for-poland with semaphores, rc6, and iommu on seems to work. I'm sending this email from that ker

Re: [Intel-gfx] [PATCH 1/2] drm/i915: re-enable semaphores by default

2011-11-18 Thread Daniel Vetter
On Thu, Nov 17, 2011 at 19:31, Nicolas Kalkhof wrote: > Hi Daniel, > > no problem :). Your patches look good! No hangs or stalls so far with > semaphores and rc6 switched on. However I had to disable intel_iommu since it > freezes my box shortly after firing up X :(. Meh, so ppgtt doesn't seem

Re: [Intel-gfx] [PATCH 1/2] drm/i915: re-enable semaphores by default

2011-11-17 Thread Nicolas Kalkhof
1. neither >> i915.semaphores=1 changes that nor does dmesg yield anything fancy. >> >> Regards, >> Nic >> >> >> -Ursprüngliche Nachricht- >> Von: "Daniel Vetter" >> Gesendet: Nov 16, 2011 10:14:18 PM >> An: "Nicolas Kalkhof&q

Re: [Intel-gfx] [PATCH 1/2] drm/i915: re-enable semaphores by default

2011-11-17 Thread Daniel Vetter
Nachricht- > Von: "Daniel Vetter" > Gesendet: Nov 16, 2011 10:14:18 PM > An: "Nicolas Kalkhof" > Betreff: Re: [Intel-gfx] [PATCH 1/2] drm/i915: re-enable semaphores by default > >>On Wed, Nov 16, 2011 at 21:56, Nicolas Kalkhof wrote: >>> Not

Re: [Intel-gfx] [PATCH 1/2] drm/i915: re-enable semaphores by default

2011-11-17 Thread Nicolas Kalkhof
. Regards, Nic -Ursprüngliche Nachricht- Von: "Daniel Vetter" Gesendet: Nov 16, 2011 10:14:18 PM An: "Nicolas Kalkhof" Betreff: Re: [Intel-gfx] [PATCH 1/2] drm/i915: re-enable semaphores by default >On Wed, Nov 16, 2011 at 21:56, Nicolas Kalkhof wrote: >> Not

Re: [Intel-gfx] [PATCH 1/2] drm/i915: re-enable semaphores by default

2011-11-16 Thread Keith Packard
On Wed, 16 Nov 2011 21:56:37 +0100 (CET), "Nicolas Kalkhof" wrote: > Not quite. On my i7 2620M (Lenovo T420) the gpu frequently hangs when > decoding videos (vaapi) and running OpenGL apps/games at the same > time. Disabling iommu makes my system relatively stable even with rc6 > enabled. I have

Re: [Intel-gfx] [PATCH 1/2] drm/i915: re-enable semaphores by default

2011-11-16 Thread Keith Packard
On Wed, 16 Nov 2011 21:18:13 +0100, Daniel Vetter wrote: > Last time I've played around with all the combinations, only > intel_iommu=off was good enough to prevent the hang. > intel_iommu=igd_off still hangs (which is what the current value > exported by the dmar code dopends on, iirc). If I re

Re: [Intel-gfx] [PATCH 1/2] drm/i915: re-enable semaphores by default

2011-11-16 Thread Daniel Vetter
On Wed, Nov 16, 2011 at 21:56, Nicolas Kalkhof wrote: > Not quite. On my i7 2620M (Lenovo T420) the gpu frequently hangs when > decoding videos (vaapi) and running OpenGL apps/games at the same time. > Disabling iommu makes my system relatively stable even with rc6 enabled. I > haven't played w

Re: [Intel-gfx] [PATCH 1/2] drm/i915: re-enable semaphores by default

2011-11-16 Thread Nicolas Kalkhof
liche Nachricht- Von: "Andrew Lutomirski" Gesendet: Nov 16, 2011 6:24:54 PM An: "Keith Packard" Betreff: Re: [Intel-gfx] [PATCH 1/2] drm/i915: re-enable semaphores by default >On Wed, Nov 16, 2011 at 9:16 AM, Keith Packard wrote: >> On Wed, 16 Nov 2011 16:49:

Re: [Intel-gfx] [PATCH 1/2] drm/i915: re-enable semaphores by default

2011-11-16 Thread Daniel Vetter
On Wed, Nov 16, 2011 at 18:16, Keith Packard wrote: > On Wed, 16 Nov 2011 16:49:40 +0100, Daniel Vetter > wrote: > >> So we need to check whether DMAR is enabled (on the >> entire system, i.e. the variable exported for the ilk workaround is >> not good enough) > > Can you figure out what *would*

Re: [Intel-gfx] [PATCH 1/2] drm/i915: re-enable semaphores by default

2011-11-16 Thread Jesse Barnes
On Wed, 16 Nov 2011 17:05:37 -0200 Eugeni Dodonov wrote: > On Wed, Nov 16, 2011 at 15:24, Andrew Lutomirski wrote: > > > AFAICT my snb laptop has always been stable with semaphores and VT-d > > enabled. Is this problem possibly restricted to just desktop > > machines? I'm happy to test, since

Re: [Intel-gfx] [PATCH 1/2] drm/i915: re-enable semaphores by default

2011-11-16 Thread Eugeni Dodonov
On Wed, Nov 16, 2011 at 15:24, Andrew Lutomirski wrote: > AFAICT my snb laptop has always been stable with semaphores and VT-d > enabled. Is this problem possibly restricted to just desktop > machines? I'm happy to test, since my box that can reproduce the hang > instantly is still around. > I

Re: [Intel-gfx] [PATCH 1/2] drm/i915: re-enable semaphores by default

2011-11-16 Thread Andrew Lutomirski
On Wed, Nov 16, 2011 at 9:16 AM, Keith Packard wrote: > On Wed, 16 Nov 2011 16:49:40 +0100, Daniel Vetter > wrote: > >> So we need to check whether DMAR is enabled (on the >> entire system, i.e. the variable exported for the ilk workaround is >> not good enough) > > Can you figure out what *woul

Re: [Intel-gfx] [PATCH 1/2] drm/i915: re-enable semaphores by default

2011-11-16 Thread Keith Packard
On Wed, 16 Nov 2011 16:49:40 +0100, Daniel Vetter wrote: > So we need to check whether DMAR is enabled (on the > entire system, i.e. the variable exported for the ilk workaround is > not good enough) Can you figure out what *would* be sufficient? Getting semaphores turned on for the 99% who are

Re: [Intel-gfx] [PATCH 1/2] drm/i915: re-enable semaphores by default

2011-11-16 Thread Daniel Vetter
On Mon, Nov 14, 2011 at 21:39, Eugeni Dodonov wrote: > Semaphores seem to fix most of the hangs on SNB and IVB, and do not cause > any known regressions as of now. > > Let's re-enable them by default to provide a wider testing and coverage. > > Acked-by: Keith Packard > CC: Jesse Barnes > CC: Da

Re: [Intel-gfx] [PATCH 1/2] drm/i915: re-enable semaphores by default

2011-11-14 Thread Jesse Barnes
On Mon, 14 Nov 2011 18:39:14 -0200 Eugeni Dodonov wrote: > Semaphores seem to fix most of the hangs on SNB and IVB, and do not cause > any known regressions as of now. > > Let's re-enable them by default to provide a wider testing and coverage. > > Acked-by: Keith Packard > CC: Jesse Barnes >

[Intel-gfx] [PATCH 1/2] drm/i915: re-enable semaphores by default

2011-11-14 Thread Eugeni Dodonov
Semaphores seem to fix most of the hangs on SNB and IVB, and do not cause any known regressions as of now. Let's re-enable them by default to provide a wider testing and coverage. Acked-by: Keith Packard CC: Jesse Barnes CC: Daniel Vetter Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=