drm/nv31/mpeg: fix mpeg engine initialization
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 27 Jul 2013 04:27:01 +0000 (00:27 -0400)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 30 Jul 2013 03:04:32 +0000 (13:04 +1000)
commit18f35fa6584fb28c674014674de20ed82bb84618
tree8aeab26ff32b24cdc19e0f473a6a73e5f7031d55
parent921837634de046acd32a7e02157349be4e97885a
drm/nv31/mpeg: fix mpeg engine initialization

object->engine is null, which leads to a null deref down the line

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/engine/mpeg/nv31.c