Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/dist/drm Tweak drm_fb_helper_...
details: https://anonhg.NetBSD.org/src/rev/5502bd9785ea
branches: riastradh-drm2
changeset: 788578:5502bd9785ea
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Dec 30 04:51:15 2013 +0000
description:
Tweak drm_fb_helper_single_fb_probe so we needn't reconnect the screen.
diffstat:
sys/external/bsd/drm2/dist/drm/drm_fb_helper.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diffs (16 lines):
diff -r 82a6df7cdf96 -r 5502bd9785ea sys/external/bsd/drm2/dist/drm/drm_fb_helper.c
--- a/sys/external/bsd/drm2/dist/drm/drm_fb_helper.c Mon Dec 30 04:51:06 2013 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_fb_helper.c Mon Dec 30 04:51:15 2013 +0000
@@ -855,6 +855,12 @@
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 */
Home |
Main Index |
Thread Index |
Old Index