Re: [Intel-gfx] [PATCH 2/3] drm/i915: initialize the parity work only once

2012-05-31 Thread Ben Widawsky
On Thu, 31 May 2012 14:57:42 +0200 Daniel Vetter wrote: > This fixes an (albeit really hard to hit) race resulting in an oops: > - The parity work get scheduled. > - We re-init the irq state and call INIT_WORK again. > - The workqueue code tries to run the work item and stumbles over a > work i

[Intel-gfx] [PATCH 2/3] drm/i915: initialize the parity work only once

2012-05-31 Thread Daniel Vetter
This fixes an (albeit really hard to hit) race resulting in an oops: - The parity work get scheduled. - We re-init the irq state and call INIT_WORK again. - The workqueue code tries to run the work item and stumbles over a work item that should be on it's runlist. Also initiliaze the work item u