[PATCH 07/10] drm/radeon: apply Murphy's law to the kms irq code v2

2012-05-31 Thread Christian König
From: Christian Koenig 1. It is really dangerous to have more than one spinlock protecting the same information. 2. radeon_irq_set sometimes wasn't called with lock protection, so it can happen that more than one CPU would tamper with the irq regs at the same time. 3. The pm.gui_idl

[PATCH 07/10] drm/radeon: apply Murphy's law to the kms irq code v2

2012-05-31 Thread Alex Deucher
On Thu, May 31, 2012 at 4:16 PM, Christian K?nig wrote: > From: Christian Koenig > > 1. It is really dangerous to have more than one > ? spinlock protecting the same information. > > 2. radeon_irq_set sometimes wasn't called with lock > ? protection, so it can happen that more than one > ? CPU wo

Re: [PATCH 07/10] drm/radeon: apply Murphy's law to the kms irq code v2

2012-05-31 Thread Alex Deucher
On Thu, May 31, 2012 at 4:16 PM, Christian König wrote: > From: Christian Koenig > > 1. It is really dangerous to have more than one >   spinlock protecting the same information. > > 2. radeon_irq_set sometimes wasn't called with lock >   protection, so it can happen that more than one >   CPU wo

[PATCH 07/10] drm/radeon: apply Murphy's law to the kms irq code v2

2012-05-31 Thread Christian König
From: Christian Koenig 1. It is really dangerous to have more than one spinlock protecting the same information. 2. radeon_irq_set sometimes wasn't called with lock protection, so it can happen that more than one CPU would tamper with the irq regs at the same time. 3. The pm.gui_idl