drm/nouveau: use dma.max rather than pushbuf size for checking GET validity
commit400f14ac4ef02b2f77c9d0e3ad7d66e2f6c8e663
authorBen Skeggs <bskeggs@redhat.com>
Fri, 8 Jan 2010 00:53:40 +0000 (8 10:53 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 11 Jan 2010 04:41:18 +0000 (11 14:41 +1000)
tree0b8174d1a3ed384462b2d751b31ca6a0606efd4c
parentcc6e496587502057af02139931736b0b7a49f637
drm/nouveau: use dma.max rather than pushbuf size for checking GET validity

Some upcoming G80 DMA changes will depend on this, but it's split out for
bisectibility just in case it causes some unexpected issues.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_dma.c