summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2013-07-29 23:05:17 (GMT)
committerBen Skeggs <bskeggs@redhat.com>2013-07-30 03:05:00 (GMT)
commit3d8b2b489e490ae63b7eddb3dcdfcee9bc32d473 (patch)
tree51d793a84baf9e2068886cc2dcadb0f6af0b1cdc /drivers/gpu/drm/nouveau
parent35095f7529bb6abdfc956e7a41ca6957520b70a7 (diff)
downloadlinux-fsl-qoriq-3d8b2b489e490ae63b7eddb3dcdfcee9bc32d473.tar.xz
drm/nv40/mpeg: write magic value to channel object to make it work
Looks like the rewrite in commit ebb945a94b ("drm/nouveau: port all engines to new engine module format") missed that one little detail. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau')
-rw-r--r--drivers/gpu/drm/nouveau/core/engine/mpeg/nv40.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/core/engine/mpeg/nv40.c b/drivers/gpu/drm/nouveau/core/engine/mpeg/nv40.c
index f7c581a..dd61960 100644
--- a/drivers/gpu/drm/nouveau/core/engine/mpeg/nv40.c
+++ b/drivers/gpu/drm/nouveau/core/engine/mpeg/nv40.c
@@ -61,6 +61,7 @@ nv40_mpeg_context_ctor(struct nouveau_object *parent,
if (ret)
return ret;
+ nv_wo32(&chan->base.base, 0x78, 0x02001ec1);
return 0;
}