]> git.baikalelectronics.ru Git - kernel.git/commit
drm/fb-helper: Improve error reporting in setup
authorNoralf Trønnes <noralf@tronnes.org>
Sat, 8 Sep 2018 13:46:29 +0000 (15:46 +0200)
committerNoralf Trønnes <noralf@tronnes.org>
Tue, 25 Sep 2018 09:28:44 +0000 (11:28 +0200)
commitb9e70891fbfea23f2af5dacc43489a1c099dcfb0
tree5550a6213c9c1bfb36a99ed572d000e611d02d6b
parent0854593146bc843ddb08afc8ea3db8d1c58a8ae6
drm/fb-helper: Improve error reporting in setup

Improve error reporting in drm_fb_helper_fbdev_setup() by printing the
error code. This is useful for drivers that choose to not fall over just
because fbdev doesen't work, but still wants clues to why it failed.
This way they don't have to provide an error message themselves.

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180908134648.2582-2-noralf@tronnes.org
drivers/gpu/drm/drm_fb_helper.c