From: Ilia Mirkin Date: Mon, 29 Jul 2013 23:05:17 +0000 (-0400) Subject: drm/nv40/mpeg: write magic value to channel object to make it work X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=3d8b2b489e490ae63b7eddb3dcdfcee9bc32d473;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/core/engine/mpeg/nv40.c b/drivers/gpu/drm/nouveau/core/engine/mpeg/nv40.c index f7c581ad1991..dd6196072e9c 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; }