linux/drivers/gpu
Maarten Lankhorst 0108bc8081 drm/nouveau: do not allow negative sizes for now
The API allows up to 64-bits allocations, but size is handled as int
inside nouveau almost everywhere. Until this is fixed it's better to
prevent negative sizes.

The 256 kB before INT_MAX is paranoia, because of the large page
aligning below that could flip it above INT_MAX.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2013-07-10 10:48:07 +10:00
..
drm drm/nouveau: do not allow negative sizes for now 2013-07-10 10:48:07 +10:00
host1x gpu: host1x: Rework CPU syncpoint increment 2013-06-22 12:43:55 +02:00
vga
Makefile gpu: host1x: Add host1x driver 2013-04-22 12:32:40 +02:00