|
@@ -181,13 +181,13 @@ nouveau_fbcon_sync(struct fb_info *info)
|
|
OUT_RING (chan, 0);
|
|
OUT_RING (chan, 0);
|
|
}
|
|
}
|
|
|
|
|
|
- nouveau_bo_wr32(chan->notifier_bo, chan->m2mf_ntfy + 3, 0xffffffff);
|
|
|
|
|
|
+ nouveau_bo_wr32(chan->notifier_bo, chan->m2mf_ntfy/4 + 3, 0xffffffff);
|
|
FIRE_RING(chan);
|
|
FIRE_RING(chan);
|
|
mutex_unlock(&chan->mutex);
|
|
mutex_unlock(&chan->mutex);
|
|
|
|
|
|
ret = -EBUSY;
|
|
ret = -EBUSY;
|
|
for (i = 0; i < 100000; i++) {
|
|
for (i = 0; i < 100000; i++) {
|
|
- if (!nouveau_bo_rd32(chan->notifier_bo, chan->m2mf_ntfy + 3)) {
|
|
|
|
|
|
+ if (!nouveau_bo_rd32(chan->notifier_bo, chan->m2mf_ntfy/4 + 3)) {
|
|
ret = 0;
|
|
ret = 0;
|
|
break;
|
|
break;
|
|
}
|
|
}
|