drm/nouveau/core: object.engine is always a nouveau_engine now
[deliverable/linux.git] / drivers / gpu / drm / nouveau / core / engine / fifo / nvc0.c
index 074d434c3077a53b74410b033a495ae58c3cd666..e8ef8cb058cd6eb401f05d9dc51b34f91a834a3a 100644 (file)
@@ -445,7 +445,6 @@ static void
 nvc0_fifo_recover(struct nvc0_fifo_priv *priv, struct nouveau_engine *engine,
                  struct nvc0_fifo_chan *chan)
 {
-       struct nouveau_object *engobj = nv_object(engine);
        u32 chid = chan->base.chid;
        unsigned long flags;
 
@@ -456,7 +455,7 @@ nvc0_fifo_recover(struct nvc0_fifo_priv *priv, struct nouveau_engine *engine,
        chan->state = KILLED;
 
        spin_lock_irqsave(&priv->base.lock, flags);
-       priv->mask |= 1ULL << nv_engidx(engobj);
+       priv->mask |= 1ULL << nv_engidx(engine);
        spin_unlock_irqrestore(&priv->base.lock, flags);
        schedule_work(&priv->fault);
 }
This page took 0.0258350000000001 seconds and 5 git commands to generate.