drm/nv10: Fix crash when allocating a BO larger than half the available VRAM.
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 3 Feb 2011 00:49:33 +0000 (01:49 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 16 Feb 2011 23:39:45 +0000 (09:39 +1000)
commit812f219a0f8a74a558c35be7942a07232ba348a5
tree48c35be1a67f9068c1c771a6dddd9698959a1234
parentc4534fdf5603ef53fce2f418df7b5a19e71281e3
drm/nv10: Fix crash when allocating a BO larger than half the available VRAM.

Reported-by: Alex Buell <alex.buell@munted.org.uk>
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bo.c