Module Name:    src
Committed By:   riastradh
Date:           Mon Dec 30 04:51:16 UTC 2013

Modified Files:
        src/sys/external/bsd/drm2/dist/drm [riastradh-drm2]: drm_fb_helper.c

Log Message:
Tweak drm_fb_helper_single_fb_probe so we needn't reconnect the screen.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.3 -r1.1.1.1.2.4 \
    src/sys/external/bsd/drm2/dist/drm/drm_fb_helper.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/dist/drm/drm_fb_helper.c
diff -u src/sys/external/bsd/drm2/dist/drm/drm_fb_helper.c:1.1.1.1.2.3 src/sys/external/bsd/drm2/dist/drm/drm_fb_helper.c:1.1.1.1.2.4
--- src/sys/external/bsd/drm2/dist/drm/drm_fb_helper.c:1.1.1.1.2.3	Sun Sep  8 16:38:51 2013
+++ src/sys/external/bsd/drm2/dist/drm/drm_fb_helper.c	Mon Dec 30 04:51:15 2013
@@ -855,6 +855,12 @@ int drm_fb_helper_single_fb_probe(struct
 		dev_info(fb_helper->dev->dev, "fb%d: %s frame buffer device\n",
 				info->node, info->fix.id);
 
+#else
+		/*
+		 * XXX Not sure this is right, but this logic will get
+		 * cleaned up in a newer import of drm2.
+		 */
+		drm_fb_helper_set_config(fb_helper);
 #endif
 	} else {
 #ifdef __NetBSD__		/* XXX fb info */

Reply via email to