Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/i915drm Make i915drmkms grab the conso...



details:   https://anonhg.NetBSD.org/src/rev/79e3f7f40f91
branches:  trunk
changeset: 328427:79e3f7f40f91
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Apr 03 14:45:44 2014 +0000

description:
Make i915drmkms grab the console by default.

diffstat:

 sys/external/bsd/drm2/i915drm/i915_pci.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f38e76cae09a -r 79e3f7f40f91 sys/external/bsd/drm2/i915drm/i915_pci.c
--- a/sys/external/bsd/drm2/i915drm/i915_pci.c  Thu Apr 03 14:23:38 2014 +0000
+++ b/sys/external/bsd/drm2/i915drm/i915_pci.c  Thu Apr 03 14:45:44 2014 +0000
@@ -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.
@@ -30,7 +30,7 @@
  */
 
 #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>
 #ifndef _MODULE
@@ -416,7 +416,7 @@
                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, "height", mode_cmd.height);
        prop_dictionary_set_uint8(dict, "depth", sizes->surface_bpp);



Home | Main Index | Thread Index | Old Index