Reworking of GPU reset logic + dumping

2012-04-25 Thread j.gli...@gmail.com
Patches also available at: http://people.freedesktop.org/~glisse/debug/ So it's the Christian series minus all the debugfs related to ring/ib/mc. The last patch add a new blob dumping facilities that dump everythings (pm4, relocs table, bo content). It's just a proof of concept to show what i

Reworking of GPU reset logic

2012-04-25 Thread Christian König
On 21.04.2012 16:14, Jerome Glisse wrote: > 2012/4/21 Christian K?nig: >> On 20.04.2012 01:47, Jerome Glisse wrote: >>> 2012/4/19 Christian K?nig: This includes mostly fixes for multi ring lockups and GPU resets, but it should general improve the behavior of the kernel mode driver in

Reworking of GPU reset logic

2012-04-25 Thread Christian König
On 23.04.2012 09:40, Michel D?nzer wrote: > On Sam, 2012-04-21 at 11:42 +0200, Christian K?nig wrote: >> Regarding the debugging of lockups I had the following on my "in mind >> todo" list: >> 1. Rework the chip specific lockup detection code a bit more and >> probably clean it up a bit. >> 2.

Reworking of GPU reset logic

2012-04-25 Thread Christian König
Second round of patchset. Thanks for all the comments and/or bug reports, allot of patches are now v2/v3 and should get another look. Every regression known so far should be fixed with them now. Additionally to the patches that where already included in the last set there are 8 new ones which

Reworking of GPU reset logic

2012-04-25 Thread Dave Airlie
2012/4/25 Christian K?nig : > On 21.04.2012 16:14, Jerome Glisse wrote: >> >> 2012/4/21 Christian K?nig: >>> >>> On 20.04.2012 01:47, Jerome Glisse wrote: 2012/4/19 Christian K?nig: > > This includes mostly fixes for multi ring lockups and GPU resets, but > it > should

Reworking of GPU reset logic

2012-04-25 Thread Jerome Glisse
On Wed, Apr 25, 2012 at 9:46 AM, Alex Deucher wrote: > 2012/4/25 Dave Airlie : >> 2012/4/25 Christian K?nig : >>> On 21.04.2012 16:14, Jerome Glisse wrote: 2012/4/21 Christian K?nig: > > On 20.04.2012 01:47, Jerome Glisse wrote: >> >> 2012/4/19 Christian K?nig: >>>

Reworking of GPU reset logic

2012-04-25 Thread Alex Deucher
2012/4/25 Dave Airlie : > 2012/4/25 Christian K?nig : >> On 21.04.2012 16:14, Jerome Glisse wrote: >>> >>> 2012/4/21 Christian K?nig: On 20.04.2012 01:47, Jerome Glisse wrote: > > 2012/4/19 Christian K?nig: >> >> This includes mostly fixes for multi ring lockups and GPU

Re: Reworking of GPU reset logic

2012-04-25 Thread Christian König
Second round of patchset. Thanks for all the comments and/or bug reports, allot of patches are now v2/v3 and should get another look. Every regression known so far should be fixed with them now. Additionally to the patches that where already included in the last set there are 8 new ones which

Re: Reworking of GPU reset logic

2012-04-25 Thread Christian König
On 23.04.2012 09:40, Michel Dänzer wrote: On Sam, 2012-04-21 at 11:42 +0200, Christian König wrote: Regarding the debugging of lockups I had the following on my in mind todo list: 1. Rework the chip specific lockup detection code a bit more and probably clean it up a bit. 2. Make the timeout a

Re: Reworking of GPU reset logic

2012-04-25 Thread Christian König
On 21.04.2012 16:14, Jerome Glisse wrote: 2012/4/21 Christian Königdeathsim...@vodafone.de: On 20.04.2012 01:47, Jerome Glisse wrote: 2012/4/19 Christian Königdeathsim...@vodafone.de: This includes mostly fixes for multi ring lockups and GPU resets, but it should general improve the behavior

Re: Reworking of GPU reset logic

2012-04-25 Thread Dave Airlie
2012/4/25 Christian König deathsim...@vodafone.de: On 21.04.2012 16:14, Jerome Glisse wrote: 2012/4/21 Christian Königdeathsim...@vodafone.de: On 20.04.2012 01:47, Jerome Glisse wrote: 2012/4/19 Christian Königdeathsim...@vodafone.de: This includes mostly fixes for multi ring lockups and

Re: Reworking of GPU reset logic

2012-04-25 Thread Alex Deucher
2012/4/25 Dave Airlie airl...@gmail.com: 2012/4/25 Christian König deathsim...@vodafone.de: On 21.04.2012 16:14, Jerome Glisse wrote: 2012/4/21 Christian Königdeathsim...@vodafone.de: On 20.04.2012 01:47, Jerome Glisse wrote: 2012/4/19 Christian Königdeathsim...@vodafone.de: This

Re: Reworking of GPU reset logic

2012-04-25 Thread Jerome Glisse
On Wed, Apr 25, 2012 at 9:46 AM, Alex Deucher alexdeuc...@gmail.com wrote: 2012/4/25 Dave Airlie airl...@gmail.com: 2012/4/25 Christian König deathsim...@vodafone.de: On 21.04.2012 16:14, Jerome Glisse wrote: 2012/4/21 Christian Königdeathsim...@vodafone.de: On 20.04.2012 01:47, Jerome

Reworking of GPU reset logic + dumping

2012-04-25 Thread j . glisse
Patches also available at: http://people.freedesktop.org/~glisse/debug/ So it's the Christian series minus all the debugfs related to ring/ib/mc. The last patch add a new blob dumping facilities that dump everythings (pm4, relocs table, bo content). It's just a proof of concept to show what i

Reworking of GPU reset logic

2012-04-23 Thread Michel Dänzer
On Sam, 2012-04-21 at 11:42 +0200, Christian K?nig wrote: > > Regarding the debugging of lockups I had the following on my "in mind > todo" list: > 1. Rework the chip specific lockup detection code a bit more and > probably clean it up a bit. > 2. Make the timeout a module parameter, cause

Re: Reworking of GPU reset logic

2012-04-23 Thread Michel Dänzer
On Sam, 2012-04-21 at 11:42 +0200, Christian König wrote: Regarding the debugging of lockups I had the following on my in mind todo list: 1. Rework the chip specific lockup detection code a bit more and probably clean it up a bit. 2. Make the timeout a module parameter, cause compute

Reworking of GPU reset logic

2012-04-21 Thread Christian König
On 20.04.2012 01:47, Jerome Glisse wrote: > 2012/4/19 Christian K?nig: >> This includes mostly fixes for multi ring lockups and GPU resets, but it >> should general improve the behavior of the kernel mode driver in case >> something goes badly wrong. >> >> On the other hand it completely

Reworking of GPU reset logic

2012-04-21 Thread Jerome Glisse
2012/4/21 Christian K?nig : > On 20.04.2012 01:47, Jerome Glisse wrote: >> >> 2012/4/19 Christian K?nig: >>> >>> This includes mostly fixes for multi ring lockups and GPU resets, but it >>> should general improve the behavior of the kernel mode driver in case >>> something goes badly wrong. >>>

Re: Reworking of GPU reset logic

2012-04-21 Thread Christian König
On 20.04.2012 01:47, Jerome Glisse wrote: 2012/4/19 Christian Königdeathsim...@vodafone.de: This includes mostly fixes for multi ring lockups and GPU resets, but it should general improve the behavior of the kernel mode driver in case something goes badly wrong. On the other hand it

Re: Reworking of GPU reset logic

2012-04-21 Thread Jerome Glisse
2012/4/21 Christian König deathsim...@vodafone.de: On 20.04.2012 01:47, Jerome Glisse wrote: 2012/4/19 Christian Königdeathsim...@vodafone.de: This includes mostly fixes for multi ring lockups and GPU resets, but it should general improve the behavior of the kernel mode driver in case

Reworking of GPU reset logic

2012-04-20 Thread Christian König
This includes mostly fixes for multi ring lockups and GPU resets, but it should general improve the behavior of the kernel mode driver in case something goes badly wrong. On the other hand it completely rewrites the IB pool and semaphore handling, so I think there are still a couple of

Reworking of GPU reset logic

2012-04-19 Thread Jerome Glisse
2012/4/19 Christian K?nig : > This includes mostly fixes for multi ring lockups and GPU resets, but it > should general improve the behavior of the kernel mode driver in case > something goes badly wrong. > > On the other hand it completely rewrites the IB pool and semaphore handling, > so I

Reworking of GPU reset logic

2012-04-19 Thread Christian König
This includes mostly fixes for multi ring lockups and GPU resets, but it should general improve the behavior of the kernel mode driver in case something goes badly wrong. On the other hand it completely rewrites the IB pool and semaphore handling, so I think there are still a couple of

Re: Reworking of GPU reset logic

2012-04-19 Thread Jerome Glisse
2012/4/19 Christian König deathsim...@vodafone.de: This includes mostly fixes for multi ring lockups and GPU resets, but it should general improve the behavior of the kernel mode driver in case something goes badly wrong. On the other hand it completely rewrites the IB pool and semaphore