aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_chan.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_chan.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_chan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_chan.c b/drivers/gpu/drm/nouveau/nouveau_chan.c
index 3dd5f712b98c..b1eea19d99a6 100644
--- a/drivers/gpu/drm/nouveau/nouveau_chan.c
+++ b/drivers/gpu/drm/nouveau/nouveau_chan.c
@@ -188,7 +188,7 @@ nouveau_channel_ind(struct nouveau_drm *drm, struct nouveau_cli *cli,
188{ 188{
189 static const u16 oclasses[] = { 0xa06f, 0x906f, 0x826f, 0x506f, 0 }; 189 static const u16 oclasses[] = { 0xa06f, 0x906f, 0x826f, 0x506f, 0 };
190 const u16 *oclass = oclasses; 190 const u16 *oclass = oclasses;
191 struct nv_channel_ind_class args; 191 struct nve0_channel_ind_class args;
192 struct nouveau_channel *chan; 192 struct nouveau_channel *chan;
193 int ret; 193 int ret;
194 194
@@ -202,6 +202,7 @@ nouveau_channel_ind(struct nouveau_drm *drm, struct nouveau_cli *cli,
202 args.pushbuf = chan->push.handle; 202 args.pushbuf = chan->push.handle;
203 args.ioffset = 0x10000 + chan->push.vma.offset; 203 args.ioffset = 0x10000 + chan->push.vma.offset;
204 args.ilength = 0x02000; 204 args.ilength = 0x02000;
205 args.engine = NVE0_CHANNEL_IND_ENGINE_GR;
205 206
206 do { 207 do {
207 ret = nouveau_object_new(nv_object(cli), parent, handle, 208 ret = nouveau_object_new(nv_object(cli), parent, handle,