]> git.baikalelectronics.ru Git - kernel.git/commit
drm: add initial_config function to fb helper
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 19 Feb 2013 21:31:39 +0000 (13:31 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 26 Mar 2013 20:32:53 +0000 (21:32 +0100)
commitccb0f910557e48dca525cd6047c2f9821665c2f6
tree2f409245edf3d4e102ac9977c95e438c5582f2dc
parent20d66aabe48682701e3048e61c0244b7f10da6c6
drm: add initial_config function to fb helper

Rather than building a config which may or may not work, let the driver
build an initial fb config.  This allows the driver to use the BIOS boot
configuration for example, displaying kernel messages and the initial fb
console on the same outputs the BIOS lit up at boot time.  If that
fails, the driver can still fall back the same way as the core.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: dri-devel@lists.freedesktop.org
Acked-by: Dave Airlie <airlied@gmail.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_fb_helper.c
include/drm/drm_fb_helper.h