From: Daniel Vetter Date: Thu, 31 May 2012 12:57:42 +0000 (+0200) Subject: drm/i915: initialize the parity work only once X-Git-Tag: v3.6-rc1~83^2~47^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98fd81cd64674545a30a4f95388f086a626d37d2;p=pandora-kernel.git 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 Signed-Off-by: Daniel Vetter --- Reading git-diff-tree failed