drm/nv40/mpeg: use the nv31-provided classes
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 8 Sep 2013 01:04:10 +0000 (21:04 -0400)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 8 Nov 2013 05:37:41 +0000 (15:37 +1000)
commit912de74c811fa5ba523bf1e525ce8ce45ecfeed4
tree90760a42d0c5f96c47902bbb6eff6506d0f0d0c1
parent5fa7543041cbc2d3139e8d2178df61a33ac3f9ac
drm/nv40/mpeg: use the nv31-provided classes

Since nv40 only covers pre-nv44 now, it can use the nv31-provided
functions.

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
drivers/gpu/drm/nouveau/core/engine/mpeg/nv31.h [new file with mode: 0644]
drivers/gpu/drm/nouveau/core/engine/mpeg/nv40.c
drivers/gpu/drm/nouveau/core/include/engine/mpeg.h