summaryrefslogtreecommitdiff
path: root/drm/nouveau_chan.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-10-20 15:49:33 +1000
committerBen Skeggs <bskeggs@redhat.com>2014-12-02 15:37:18 +1000
commit837079ed62462edb708fe7a25618aa126da5b7b9 (patch)
tree42585f3a78f742993248d853f42f694da1dc7c8d /drm/nouveau_chan.c
parentd18bcb2dcc4f52033d09cc6dcc713b54c53cd653 (diff)
downloadnouveau-837079ed62462edb708fe7a25618aa126da5b7b9.tar.gz
drm: a, somehow, missed hunk of "fix regression on agp boards"
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drm/nouveau_chan.c')
-rw-r--r--drm/nouveau_chan.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drm/nouveau_chan.c b/drm/nouveau_chan.c
index fd3dbd59d..77c81d6b4 100644
--- a/drm/nouveau_chan.c
+++ b/drm/nouveau_chan.c
@@ -285,7 +285,6 @@ nouveau_channel_init(struct nouveau_channel *chan, u32 vram, u32 gart)
struct nouveau_software_chan *swch;
struct nv_dma_v0 args = {};
int ret, i;
- bool save;
nvif_object_map(chan->object);
@@ -387,11 +386,7 @@ nouveau_channel_init(struct nouveau_channel *chan, u32 vram, u32 gart)
}
/* initialise synchronisation */
- save = cli->base.super;
- cli->base.super = true; /* hack until fencenv50 fixed */
- ret = nouveau_fence(chan->drm)->context_new(chan);
- cli->base.super = save;
- return ret;
+ return nouveau_fence(chan->drm)->context_new(chan);
}
int