Skip to content

Commit a737abe

Browse files
imirkingregkh
authored andcommitted
drm/nouveau/mpeg: mthd returns true on success now
commit 83bce9c2baa51e439480a713119a73d3c8b61083 upstream. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Fixes: 590801c ("drm/nouveau/mpeg: remove dependence on namedb/engctx lookup") Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent ef4c962 commit a737abe

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ nv31_mpeg_intr(struct nvkm_engine *engine)
198198
}
199199

200200
if (type == 0x00000010) {
201-
if (!nv31_mpeg_mthd(mpeg, mthd, data))
201+
if (nv31_mpeg_mthd(mpeg, mthd, data))
202202
show &= ~0x01000000;
203203
}
204204
}

drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv44.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ nv44_mpeg_intr(struct nvkm_engine *engine)
172172
}
173173

174174
if (type == 0x00000010) {
175-
if (!nv44_mpeg_mthd(subdev->device, mthd, data))
175+
if (nv44_mpeg_mthd(subdev->device, mthd, data))
176176
show &= ~0x01000000;
177177
}
178178
}

0 commit comments

Comments
 (0)