Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
nv_wr32(priv, 0x040108 + (unit * 0x2000), stat);
}
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)
{
static void
nve0_fifo_intr(struct nouveau_subdev *subdev)
{
}
if (stat & 0x80000000) {
}
if (stat & 0x80000000) {
- nouveau_event_trigger(priv->base.uevent, 0);
+ nve0_fifo_intr_engine(priv);
nv_wr32(priv, 0x002100, 0x80000000);
stat &= ~0x80000000;
}
nv_wr32(priv, 0x002100, 0x80000000);
stat &= ~0x80000000;
}