drm: Reshuffle getfb error returns
authorDaniel Stone <daniels@collabora.com>
Fri, 23 Mar 2018 13:45:51 +0000 (13:45 +0000)
committerDaniel Stone <daniels@collabora.com>
Fri, 30 Mar 2018 16:54:27 +0000 (17:54 +0100)
commit487da6172f5678496699bec685797dc816f6a131
tree3e6d2dee5078d57d26de23abf1b4687c87f4e981
parent83fd26c3f32afe38bb2ab8cc00e313ec5c2edbce
drm: Reshuffle getfb error returns

Make it a little more clear what's going on inside of getfb, and also
make it easier to add alternate paths to get a handle in future.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180323134553.15993-3-daniels@collabora.com
drivers/gpu/drm/drm_framebuffer.c