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 Add missing declaration from l...



details:   https://anonhg.NetBSD.org/src/rev/a40308d4fa48
branches:  trunk
changeset: 328541:a40308d4fa48
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Apr 06 16:38:34 2014 +0000

description:
Add missing declaration from last commit.

diffstat:

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

diffs (35 lines):

diff -r fb1de6d54a3b -r a40308d4fa48 sys/external/bsd/drm2/i915drm/i915_pci.c
--- a/sys/external/bsd/drm2/i915drm/i915_pci.c  Sun Apr 06 14:47:46 2014 +0000
+++ b/sys/external/bsd/drm2/i915drm/i915_pci.c  Sun Apr 06 16:38:34 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i915_pci.c,v 1.5 2014/04/04 16:02:34 riastradh Exp $   */
+/*     $NetBSD: i915_pci.c,v 1.6 2014/04/06 16:38:34 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.5 2014/04/04 16:02:34 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i915_pci.c,v 1.6 2014/04/06 16:38:34 riastradh Exp $");
 
 #include <sys/types.h>
 #ifndef _MODULE
@@ -75,6 +75,7 @@
 
 static int     i915drm_fb_probe(struct drm_fb_helper *,
                    struct drm_fb_helper_surface_size *);
+static void    i915drm_fb_detach(struct drm_fb_helper *);
 static int     i915drm_fb_create_handle(struct drm_framebuffer *,
                    struct drm_file *, unsigned int *);
 static void    i915drm_fb_destroy(struct drm_framebuffer *);
@@ -411,7 +412,7 @@
                goto fail3;
        }
 
-       prop_dictionary_set_bool(dict, "is_console", 1); /* XXX */
+       prop_dictionary_set_bool(dict, "is_console", 0); /* 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