drm/nv44/mpeg: create a copy of the nv31/nv40 impls
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 8 Sep 2013 01:04:09 +0000 (21:04 -0400)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 8 Nov 2013 05:37:41 +0000 (15:37 +1000)
commit5fa7543041cbc2d3139e8d2178df61a33ac3f9ac
tree8b56d95b3ba575183a54deff08aba03a908c2604
parentbe4ba550461fbb90a75390b3f001a8fa27e4c70e
drm/nv44/mpeg: create a copy of the nv31/nv40 impls

The nv31/nv40 impls are actually fairly nv44-specific, since they assume
the presence of the instance register/context switching. Create a copy
before nv31/nv40 get fixed.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/Makefile
drivers/gpu/drm/nouveau/core/engine/device/nv40.c
drivers/gpu/drm/nouveau/core/engine/mpeg/nv44.c [new file with mode: 0644]
drivers/gpu/drm/nouveau/core/include/engine/mpeg.h