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 no need to call drm_fb_helper_...



details:   https://anonhg.NetBSD.org/src/rev/aa74c94e1e58
branches:  trunk
changeset: 331362:aa74c94e1e58
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Aug 09 12:46:07 2014 +0000

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

diffstat:

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

diffs (27 lines):

diff -r 9ac8597e1bba -r aa74c94e1e58 sys/external/bsd/drm2/i915drm/intelfb.c
--- a/sys/external/bsd/drm2/i915drm/intelfb.c   Sat Aug 09 12:40:14 2014 +0000
+++ b/sys/external/bsd/drm2/i915drm/intelfb.c   Sat Aug 09 12:46:07 2014 +0000
@@ -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 @@
        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;



Home | Main Index | Thread Index | Old Index