Re: [PATCH] x86/vga: set the default device from the fixup.

From: H. Peter Anvin
Date: Mon May 14 2012 - 12:51:27 EST

On 05/14/2012 09:01 AM, Dave Airlie wrote:
> From: Dave Airlie <airlied@xxxxxxxxxx>
> Since Matthew's efi/vga changes on non-EFI machines we were failing
> to tell the vgaarb/switcheroo what the default device was, this
> sets the default device in the quirk if none has been set before.
> This fixes the switcheroo on my T410s.
> [hpa: please ack to put this on top of the other patches in my -next tree].
> Signed-off-by: Dave Airlie <airlied@xxxxxxxxxx>
> Cc: Matthew Garrett <mjg@xxxxxxxxxx>
> Cc: H. Peter Anvin <hpa@xxxxxxxxx>

Acked-by: H. Peter Anvin <hpa@xxxxxxxxx>

... although I would prefer the

if (!vga_default_device())

syntax as a matter of style.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at