提交 9717f3d9 编写于 作者: B Ben Skeggs

drm/nouveau: detect disabled device in irq handler and return IRQ_NONE

Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 e19b20bb
......@@ -79,7 +79,7 @@ nouveau_irq_handler(DRM_IRQ_ARGS)
int i;
stat = nv_rd32(dev, NV03_PMC_INTR_0);
if (!stat)
if (stat == 0 || stat == ~0)
return IRQ_NONE;
spin_lock_irqsave(&dev_priv->context_switch_lock, flags);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册