]> 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)
commit2703f2cad71fe0ff5b1ab70342a520fc9eebfcc5
tree2f409245edf3d4e102ac9977c95e438c5582f2dc
parentc706d4b9f37d7263546282b8528ef1b6fb1897bb
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