diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv50_fence.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nv50_fence.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_fence.c b/drivers/gpu/drm/nouveau/nv50_fence.c index a82d9ea7c6fd..f0d96e5da6b4 100644 --- a/drivers/gpu/drm/nouveau/nv50_fence.c +++ b/drivers/gpu/drm/nouveau/nv50_fence.c | |||
@@ -51,7 +51,7 @@ nv50_fence_context_new(struct nouveau_channel *chan) | |||
51 | fctx->base.read = nv10_fence_read; | 51 | fctx->base.read = nv10_fence_read; |
52 | fctx->base.sync = nv17_fence_sync; | 52 | fctx->base.sync = nv17_fence_sync; |
53 | 53 | ||
54 | ret = nvif_object_init(chan->object, NULL, NvSema, NV_DMA_IN_MEMORY, | 54 | ret = nvif_object_init(&chan->user, NvSema, NV_DMA_IN_MEMORY, |
55 | &(struct nv_dma_v0) { | 55 | &(struct nv_dma_v0) { |
56 | .target = NV_DMA_V0_TARGET_VRAM, | 56 | .target = NV_DMA_V0_TARGET_VRAM, |
57 | .access = NV_DMA_V0_ACCESS_RDWR, | 57 | .access = NV_DMA_V0_ACCESS_RDWR, |
@@ -66,7 +66,7 @@ nv50_fence_context_new(struct nouveau_channel *chan) | |||
66 | u32 start = bo->bo.mem.start * PAGE_SIZE; | 66 | u32 start = bo->bo.mem.start * PAGE_SIZE; |
67 | u32 limit = start + bo->bo.mem.size - 1; | 67 | u32 limit = start + bo->bo.mem.size - 1; |
68 | 68 | ||
69 | ret = nvif_object_init(chan->object, NULL, NvEvoSema0 + i, | 69 | ret = nvif_object_init(&chan->user, NvEvoSema0 + i, |
70 | NV_DMA_IN_MEMORY, &(struct nv_dma_v0) { | 70 | NV_DMA_IN_MEMORY, &(struct nv_dma_v0) { |
71 | .target = NV_DMA_V0_TARGET_VRAM, | 71 | .target = NV_DMA_V0_TARGET_VRAM, |
72 | .access = NV_DMA_V0_ACCESS_RDWR, | 72 | .access = NV_DMA_V0_ACCESS_RDWR, |