]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: enable SDEIER later
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 1 Apr 2014 18:37:22 +0000 (15:37 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Apr 2014 21:10:55 +0000 (23:10 +0200)
commitdd632b362cc956b46de41ceb65f4d42f41f72433
tree6e2deb6ad8c9ee6f073755493c95d893c425c531
parent510acb1854ee1e26291c7d3e5f4ea1ca1a8fded0
drm/i915: enable SDEIER later

On the preinstall stage we should just disable all the interrupts, but
we currently enable all the south display interrupts due to the way we
touch SDEIER at the IRQ handlers (note: they are still masked and our
IRQ handler is disabled). Instead of doing that, let's make the
preinstall stage just disable all the south interrupts, and do the
proper interrupt dance/ordering at the postinstall stage, including an
assert to check if everything is behaving as expected.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c