Commit c074bdbc authored by Ben Skeggs's avatar Ben Skeggs

drm/nve0/fifo: engine intr

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 7a42f492
......@@ -646,6 +646,12 @@ nve0_fifo_intr_pbdma(struct nve0_fifo_priv *priv, int unit)
nv_wr32(priv, 0x040108 + (unit * 0x2000), stat);
}
static void
nve0_fifo_intr_engine(struct nve0_fifo_priv *priv)
{
nouveau_event_trigger(priv->base.uevent, 0);
}
static void
nve0_fifo_intr(struct nouveau_subdev *subdev)
{
......@@ -737,7 +743,7 @@ nve0_fifo_intr(struct nouveau_subdev *subdev)
}
if (stat & 0x80000000) {
nouveau_event_trigger(priv->base.uevent, 0);
nve0_fifo_intr_engine(priv);
nv_wr32(priv, 0x002100, 0x80000000);
stat &= ~0x80000000;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment