Displaying 1 result from an estimated 1 matches for "nvc0_swmthd_vblsem_offset_high".
2012 Jul 27
0
[PATCH 3/3] nouveau: add vblank methods on newer cards
.../drivers/gpu/drm/nouveau/nvc0_software.c
index 4fd14cf..5bd381c 100644
--- a/drivers/gpu/drm/nouveau/nvc0_software.c
+++ b/drivers/gpu/drm/nouveau/nvc0_software.c
@@ -48,6 +48,63 @@ nvc0_software_crtc(struct nouveau_channel *chan, int crtc)
return pch->dispc_vma[crtc].offset;
}
+static int
+nvc0_swmthd_vblsem_offset_high(struct nouveau_channel *chan,
+ u32 class, u32 mthd, u32 data)
+{
+ struct nvc0_software_chan *pch = chan->engctx[NVOBJ_ENGINE_SW];
+
+ pch->base.vblank.ctxdma = data;
+ return 0;
+}
+
+static int
+nvc0_swmthd_vblsem_offset_low(struct nouveau_channel *chan,
+ u32 class, u32 mthd, u32 data...