Module Name:    src
Committed By:   jmcneill
Date:           Sat Aug  9 12:46:07 UTC 2014

Modified Files:
        src/sys/external/bsd/drm2/i915drm: intelfb.c

Log Message:
no need to call drm_fb_helper_set_config after genfb attaches, as the setmode 
callback is called by genfb_attach


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/external/bsd/drm2/i915drm/intelfb.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/intelfb.c
diff -u src/sys/external/bsd/drm2/i915drm/intelfb.c:1.8 src/sys/external/bsd/drm2/i915drm/intelfb.c:1.9
--- src/sys/external/bsd/drm2/i915drm/intelfb.c:1.8	Fri Aug  8 02:27:40 2014
+++ src/sys/external/bsd/drm2/i915drm/intelfb.c	Sat Aug  9 12:46:07 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: intelfb.c,v 1.8 2014/08/08 02:27:40 jmcneill Exp $	*/
+/*	$NetBSD: intelfb.c,v 1.9 2014/08/09 12:46:07 jmcneill Exp $	*/
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intelfb.c,v 1.8 2014/08/08 02:27:40 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intelfb.c,v 1.9 2014/08/09 12:46:07 jmcneill Exp $");
 
 #ifdef _KERNEL_OPT
 #include "vga.h"
@@ -248,8 +248,6 @@ intelfb_setconfig_task(struct i915drmkms
 	pmf_device_register1(sc->sc_dev, NULL, NULL,
 	    intelfb_genfb_shutdown);
 
-	drm_fb_helper_set_config(sc->sc_ifa.ifa_fb_helper);
-
 	/* Success!  */
 	sc->sc_scheduled = false;
 	return;

Reply via email to