drm/nouveau: use dma.max rather than pushbuf size for checking GET validity
authorBen Skeggs <bskeggs@redhat.com>
Fri, 8 Jan 2010 00:53:40 +0000 (10:53 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Sun, 10 Jan 2010 23:06:44 +0000 (09:06 +1000)
commitdff36321497b1130085820c81a44779b065c8d7e
tree90c66618be3b4f57728ecb3edf6c4c777899feb8
parent1dee7a930bfddd69825fca3e3f9541c8a5333876
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