From: Matthew Garrett Date: Mon, 16 Apr 2012 20:26:04 +0000 (-0400) Subject: x86: Use vga_default_device() when determining whether an fb is primary X-Git-Tag: v3.5-rc1~83^2~107 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88674088d10ca2538b2efd2559f6620ade8ec373;p=pandora-kernel.git x86: Use vga_default_device() when determining whether an fb is primary IORESOURCE_ROM_SHADOW is not necessarily an indication that the hardware is the primary device. Add support for using the vgaarb functions and fall back if nothing's set them. Signed-off-by: Matthew Garrett Cc: mingo@redhat.com Acked-by: hpa@zytor.com Signed-off-by: Dave Airlie --- Reading git-diff-tree failed