“b2034c28547731d8f55706ceef6360d24627c1fb”上不存在“python/paddle/fluid/git@gitcode.net:Crayonxin2000/Paddle.git”
提交 0bda1cf7 编写于 作者: P Paulo Zanoni 提交者: Daniel Vetter

drm/i915: also use GEN5_IRQ_INIT with south display interrupts

This interrupt gets initialized with a different IER value, so it was
not using the macro. The problem is that we plan to modify the macro
to make it do additional things, and we want the SDE interrupts
updated too. So let's make sure we call the macro, then, after it, we
do the necessary SDE-specific changes.
Reviewed-by: NBen Widawsky <ben@bwidawsk.net>
Signed-off-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
上级 a9d356a6
...@@ -2827,8 +2827,7 @@ static void ibx_irq_preinstall(struct drm_device *dev) ...@@ -2827,8 +2827,7 @@ static void ibx_irq_preinstall(struct drm_device *dev)
if (HAS_PCH_NOP(dev)) if (HAS_PCH_NOP(dev))
return; return;
/* south display irq */ GEN5_IRQ_INIT(SDE);
I915_WRITE(SDEIMR, 0xffffffff);
/* /*
* SDEIER is also touched by the interrupt handler to work around missed * SDEIER is also touched by the interrupt handler to work around missed
* PCH interrupts. Hence we can't update it after the interrupt handler * PCH interrupts. Hence we can't update it after the interrupt handler
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册