]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm: Pass the real error code back during GEM bo initialisation
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 29 Jan 2012 16:45:32 +0000 (16:45 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 30 Jan 2012 09:31:42 +0000 (09:31 +0000)
commitdd8bc93d45c0ac4f64bf074d4be72418aac1609b
tree79bc34bf0a99619b99a505642d39b38f354742e0
parent6e877b576ddf7cde5db2e9a6dcb56fef0ea77e64
drm: Pass the real error code back during GEM bo initialisation

In particular, I found I was hitting the max-file limit in the VFS,
and the EFILE was being magically transformed into ENOMEM. Confusion
reigns.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_gem.c