Skip to contentSkip to conversation

drm/i915: re-enable semaphores by default

PATCH Nicolas Kalkhof 4 participants 5 messages Nov 17, 2011 – Nov 29, 2011

lore
Share & tools
lore
#0 lore raw

Daniel,

your ppgtt branch commit hardlocks my machine (SNB Mobile GT2+) as soon as I fire up X with a black screen. No crashdumps/syslogs :( Kernel params are: intel_iommu=off pcie_aspm=force i915.i915_enable_rc6=1. neither i915.semaphores=1 changes that nor does dmesg yield anything fancy.

Regards,
Nic

-----Ursprüngliche Nachricht-----
Von: "Daniel Vetter" <[email protected]>
Gesendet: Nov 16, 2011 10:14:18 PM
An: "Nicolas Kalkhof" <[email protected]>
Betreff: Re: [Intel-gfx] [PATCH 1/2] drm/i915: re-enable semaphores by default

Quoted 9 lines · Nicolas Kalkhof
Quoted 1 line

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 with the semaphores however.

Can you please try my ppgtt branch from my fdo repo at
http://cgit.freedesktop.org/~danvet/drm/ ? Note thought that it'll only work on snb/ivb and that suspend/resume is broken. Also, it won't properly re-enable ppgtt when resetting the gpu after a hang. But testing feedback highly appreciated.

Quoted 4 lines

Thanks, Daniel
--
Daniel Vetter
[email protected] - +41 (0) 79 365 57 48 - http://blog.ffwll.ch

___________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
_______________________________________________
Intel-gfx mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#1 lore raw

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.

Thanks, Daniel

Quoted 33 lines · Nicolas Kalkhof

Daniel,

your ppgtt branch commit hardlocks my machine (SNB Mobile GT2+) as soon as I fire up X with a black screen. No crashdumps/syslogs :( Kernel params are: intel_iommu=off pcie_aspm=force i915.i915_enable_rc6=1. neither i915.semaphores=1 changes that nor does dmesg yield anything fancy.

Regards,
Nic

-----Ursprüngliche Nachricht-----
Von: "Daniel Vetter" <[email protected]>
Gesendet: Nov 16, 2011 10:14:18 PM
An: "Nicolas Kalkhof" <[email protected]>
Betreff: Re: [Intel-gfx] [PATCH 1/2] drm/i915: re-enable semaphores by default

Quoted 9 lines · Nicolas Kalkhof
Quoted 1 line

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 with the semaphores however.

Can you please try my ppgtt branch from my fdo repo at
http://cgit.freedesktop.org/~danvet/drm/ ? Note thought that it'll only work on snb/ivb and that suspend/resume is broken. Also, it won't properly re-enable ppgtt when resetting the gpu after a hang. But testing feedback highly appreciated.

Quoted 4 lines

Thanks, Daniel
--
Daniel Vetter
[email protected] - +41 (0) 79 365 57 48 - http://blog.ffwll.ch

___________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192

Signature · 2 lines
Daniel Vetter
[email protected] - +41 (0) 79 365 57 48 - http://blog.ffwll.ch
#2 lore raw
Quoted 3 lines · Daniel Vetter

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 kernel right now :)

--Andy

#3 lore raw
Quoted 7 lines · Andrew Lutomirski
Quoted 3 lines · Daniel Vetter

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 kernel right now :)

Awesome! Well, not quite because it still blows up for me (but no longer hard-hangs, just gpu death). Can you please attach full dmesg and lspci -nn, I want to check a few things?

Thanks a lot, Daniel

Signature · 3 lines
Daniel Vetter
Mail: [email protected]
Mobile: +41 (0)79 365 57 48
#4 lore raw
In reply to Andrew Lutomirski
Quoted 7 lines · Andrew Lutomirski
Quoted 3 lines · Daniel Vetter

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 kernel right now :)

Just to double-check: Can you please retest my latest ppgtt branch available at:

http://cgit.freedesktop.org/~danvet/drm/log/?h=ppgtt

If that works for you with DMAR and semaphores enabled, a tested-by is highly appreciated.

Thanks, Daniel

Signature · 2 lines
Daniel Vetter
[email protected] - +41 (0) 79 365 57 48 - http://blog.ffwll.ch