From: Daniel Vetter Date: Thu, 13 Dec 2012 22:06:08 +0000 (+0100) Subject: drm: don't take modeset locks in getfb ioctl X-Git-Tag: v3.9-rc1~83^2~38^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58c0dca10614117cf4b385e3314e79e3b37fa66b;p=pandora-kernel.git drm: don't take modeset locks in getfb ioctl We only need to push the fb unreference a bit down. While at it, properly pass the return value from ->create_handle back to userspace. Most drivers either return -ENODEV if they don't have a concept of buffer objects (ast, cirrus, ...) or just install a handle for the underlying gem object (which is ok since we hold a reference on that through the framebuffer). v2: Split out the ->create_handle rework in the individual drivers. Reviewed-by: Rob Clark Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed