summaryrefslogtreecommitdiff
path: root/drm/nouveau/nvkm/engine/sw/gf100.c
diff options
context:
space:
mode:
Diffstat (limited to 'drm/nouveau/nvkm/engine/sw/gf100.c')
-rw-r--r--drm/nouveau/nvkm/engine/sw/gf100.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drm/nouveau/nvkm/engine/sw/gf100.c b/drm/nouveau/nvkm/engine/sw/gf100.c
index 8920f367c..4ca6b88e9 100644
--- a/drm/nouveau/nvkm/engine/sw/gf100.c
+++ b/drm/nouveau/nvkm/engine/sw/gf100.c
@@ -41,11 +41,10 @@ gf100_sw_chan_vblsem_release(struct nvkm_notify *notify)
container_of(notify, typeof(*chan), vblank.notify[notify->index]);
struct nvkm_sw *sw = chan->base.sw;
struct nvkm_device *device = sw->engine.subdev.device;
- struct nvkm_bar *bar = device->bar;
u32 inst = chan->base.fifo->inst->addr >> 12;
nvkm_wr32(device, 0x001718, 0x80000000 | inst);
- bar->flush(bar);
+ nvkm_bar_flush(device->bar);
nvkm_wr32(device, 0x06000c, upper_32_bits(chan->vblank.offset));
nvkm_wr32(device, 0x060010, lower_32_bits(chan->vblank.offset));
nvkm_wr32(device, 0x060014, chan->vblank.value);