mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
drm/nouveau/mpeg: mthd returns true on success now
commit83bce9c2baupstream. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Fixes:590801c1a3("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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
ef4c962825
commit
a737abe4d0
@@ -198,7 +198,7 @@ nv31_mpeg_intr(struct nvkm_engine *engine)
|
||||
}
|
||||
|
||||
if (type == 0x00000010) {
|
||||
if (!nv31_mpeg_mthd(mpeg, mthd, data))
|
||||
if (nv31_mpeg_mthd(mpeg, mthd, data))
|
||||
show &= ~0x01000000;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -172,7 +172,7 @@ nv44_mpeg_intr(struct nvkm_engine *engine)
|
||||
}
|
||||
|
||||
if (type == 0x00000010) {
|
||||
if (!nv44_mpeg_mthd(subdev->device, mthd, data))
|
||||
if (nv44_mpeg_mthd(subdev->device, mthd, data))
|
||||
show &= ~0x01000000;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user