drm/radeon/kms: drop zero length CS indirect buffers.
authorDave Airlie <airlied@redhat.com>
Tue, 30 Jun 2009 01:47:14 +0000 (11:47 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 15 Jul 2009 07:13:15 +0000 (17:13 +1000)
commit5176fdc4c5873e52f9cb6e166d80e843847e7eb4
treea9b1638a5f94252d07b5b31793ec41a08346714d
parente7168cab5bbac0a0e5413fd55ba0e92555bf860d
drm/radeon/kms: drop zero length CS indirect buffers.

If userspace sends a zero length IB, it really shouldn't have bothered
so EINVAL it.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_cs.c