Home
last modified time | relevance | path

Searched hist:"98 fd81cd64674545a30a4f95388f086a626d37d2" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_irq.cdiff 98fd81cd64674545a30a4f95388f086a626d37d2 Thu May 31 07:57:42 CDT 2012 Daniel Vetter <daniel.vetter@ffwll.ch> drm/i915: initialize the parity work only once

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 unconditionally like all the others,
it's simpler.

Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>