Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/rockchip rkdrm: Comment why we config_defer rk_...
details: https://anonhg.NetBSD.org/src/rev/583a43cdfea0
branches: trunk
changeset: 1029027:583a43cdfea0
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 12:45:04 2021 +0000
description:
rkdrm: Comment why we config_defer rk_drm_init.
diffstat:
sys/arch/arm/rockchip/rk_drm.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r 5c433035d88f -r 583a43cdfea0 sys/arch/arm/rockchip/rk_drm.c
--- a/sys/arch/arm/rockchip/rk_drm.c Sun Dec 19 12:44:57 2021 +0000
+++ b/sys/arch/arm/rockchip/rk_drm.c Sun Dec 19 12:45:04 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rk_drm.c,v 1.16 2021/12/19 12:43:37 riastradh Exp $ */
+/* $NetBSD: rk_drm.c,v 1.17 2021/12/19 12:45:04 riastradh Exp $ */
/*-
* Copyright (c) 2019 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rk_drm.c,v 1.16 2021/12/19 12:43:37 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rk_drm.c,v 1.17 2021/12/19 12:45:04 riastradh Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -167,6 +167,10 @@
fdt_remove_bycompat(fb_compatible);
+ /*
+ * Wait until rk_vop is attached as a sibling to this device --
+ * we need that to actually display our framebuffer.
+ */
config_defer(self, rk_drm_init);
}
Home |
Main Index |
Thread Index |
Old Index