drm/i915: Correctly return -ENOMEM on allocation failure in cmdbuf ioctls.
authorOwain Ainsworth <zerooa@googlemail.com>
Tue, 9 Feb 2010 14:25:55 +0000 (14:25 +0000)
committerEric Anholt <eric@anholt.net>
Wed, 10 Feb 2010 23:08:00 +0000 (15:08 -0800)
commita40e8d3139e9eb54bf1d29f91639a6c5e05f652e
treeb0dc8c88f3872f57c9b29d76d5f679c2eb90792f
parentaacef09b59e99d9e919ede74d107d5d7f3721432
drm/i915: Correctly return -ENOMEM on allocation failure in cmdbuf ioctls.

Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_gem.c