Make i915drmkms grab the console by default.
This commit is contained in:
parent
18fc7d3f42
commit
dfe09fda34
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: i915_pci.c,v 1.2 2014/03/18 18:20:42 riastradh Exp $ */
|
/* $NetBSD: i915_pci.c,v 1.3 2014/04/03 14:45:44 riastradh Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2013 The NetBSD Foundation, Inc.
|
* Copyright (c) 2013 The NetBSD Foundation, Inc.
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: i915_pci.c,v 1.2 2014/03/18 18:20:42 riastradh Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: i915_pci.c,v 1.3 2014/04/03 14:45:44 riastradh Exp $");
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#ifndef _MODULE
|
#ifndef _MODULE
|
||||||
|
@ -416,7 +416,7 @@ i915drm_fb_probe(struct drm_fb_helper *fb_helper,
|
||||||
goto fail3;
|
goto fail3;
|
||||||
}
|
}
|
||||||
|
|
||||||
prop_dictionary_set_bool(dict, "is_console", 0); /* XXX */
|
prop_dictionary_set_bool(dict, "is_console", 1); /* XXX */
|
||||||
prop_dictionary_set_uint32(dict, "width", mode_cmd.width);
|
prop_dictionary_set_uint32(dict, "width", mode_cmd.width);
|
||||||
prop_dictionary_set_uint32(dict, "height", mode_cmd.height);
|
prop_dictionary_set_uint32(dict, "height", mode_cmd.height);
|
||||||
prop_dictionary_set_uint8(dict, "depth", sizes->surface_bpp);
|
prop_dictionary_set_uint8(dict, "depth", sizes->surface_bpp);
|
||||||
|
|
Loading…
Reference in New Issue