Module Name: src
Committed By: riastradh
Date: Sun Apr 6 16:38:34 UTC 2014
Modified Files:
src/sys/external/bsd/drm2/i915drm: i915_pci.c
Log Message:
Add missing declaration from last commit.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/external/bsd/drm2/i915drm/i915_pci.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/drm2/i915drm/i915_pci.c
diff -u src/sys/external/bsd/drm2/i915drm/i915_pci.c:1.5 src/sys/external/bsd/drm2/i915drm/i915_pci.c:1.6
--- src/sys/external/bsd/drm2/i915drm/i915_pci.c:1.5 Fri Apr 4 16:02:34 2014
+++ src/sys/external/bsd/drm2/i915drm/i915_pci.c Sun Apr 6 16:38:34 2014
@@ -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_detach_framebuffer(de
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 @@ i915drm_fb_probe(struct drm_fb_helper *f
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);