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: Do drm_mode_config_reset on init.
details: https://anonhg.NetBSD.org/src/rev/741d00f4d6ad
branches: trunk
changeset: 1029016:741d00f4d6ad
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 12:43:29 2021 +0000
description:
rkdrm: Do drm_mode_config_reset on init.
diffstat:
sys/arch/arm/rockchip/rk_drm.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r e2176fc0a404 -r 741d00f4d6ad sys/arch/arm/rockchip/rk_drm.c
--- a/sys/arch/arm/rockchip/rk_drm.c Sun Dec 19 12:43:22 2021 +0000
+++ b/sys/arch/arm/rockchip/rk_drm.c Sun Dec 19 12:43:29 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rk_drm.c,v 1.14 2021/12/19 12:28:44 riastradh Exp $ */
+/* $NetBSD: rk_drm.c,v 1.15 2021/12/19 12:43:29 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.14 2021/12/19 12:28:44 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rk_drm.c,v 1.15 2021/12/19 12:43:29 riastradh Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -410,6 +410,8 @@
goto drmerr;
}
+ drm_mode_config_reset(ddev);
+
fbdev = kmem_zalloc(sizeof(*fbdev), KM_SLEEP);
drm_fb_helper_prepare(ddev, &fbdev->helper, &rk_drm_fb_helper_funcs);
Home |
Main Index |
Thread Index |
Old Index