drm/i915: setup the hangcheck timer early
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 1 Dec 2012 20:03:21 +0000 (21:03 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Dec 2012 12:14:35 +0000 (13:14 +0100)
commit61bac78e03d4385e225cb2837e33974feda489c2
treeddd61e8727996cef5b33cb26d8277ae88a3b31e2
parentd83779a9cb9374977c1c05364b4d7dfe9ec68ef3
drm/i915: setup the hangcheck timer early

... together with all the other irq related resources in
intel_irq_init. I've managed to oops in the notify_ring function on my
ilk, presumably because of the powerctx setup call to i915_gpu_idle.

Note that this is only a problem with the reorder irq setup sequence
for irq-driver gmbus/dp aux.

Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_irq.c