drm/nv31/mpeg: split the nv31 and nv40 dma setting implementations
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 8 Sep 2013 01:04:12 +0000 (21:04 -0400)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 8 Nov 2013 05:37:42 +0000 (15:37 +1000)
commitbe0dd4ddefebb35915979e280047eb6f5ecc3235
tree7aad505ab127edb047c9f521943f5a88139ce066
parente6585cab68a71a6025f7b6ace2681ebb866a030e
drm/nv31/mpeg: split the nv31 and nv40 dma setting implementations

NV31 has different config bits than NV40+ do. Also fix the DMA_IMAGE
VRAM-only setting to check the right bits.

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/nv40.c
drivers/gpu/drm/nouveau/core/engine/mpeg/nv44.c
drivers/gpu/drm/nouveau/core/include/engine/mpeg.h