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/drm drm: Note dependency on sysmon_power.



details:   https://anonhg.NetBSD.org/src/rev/d7d0ef425437
branches:  trunk
changeset: 368568:d7d0ef425437
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Tue Jul 19 22:24:47 2022 +0000

description:
drm: Note dependency on sysmon_power.

drm uses this for pswitch events to notify of hotplug.

diffstat:

 sys/external/bsd/drm2/drm/drm_module.c |  6 +++---
 sys/external/bsd/drm2/drm/files.drmkms |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 59bdd2b6eccd -r d7d0ef425437 sys/external/bsd/drm2/drm/drm_module.c
--- a/sys/external/bsd/drm2/drm/drm_module.c    Tue Jul 19 22:24:33 2022 +0000
+++ b/sys/external/bsd/drm2/drm/drm_module.c    Tue Jul 19 22:24:47 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_module.c,v 1.30 2022/07/17 14:11:40 riastradh Exp $        */
+/*     $NetBSD: drm_module.c,v 1.31 2022/07/19 22:24:47 riastradh Exp $        */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_module.c,v 1.30 2022/07/17 14:11:40 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_module.c,v 1.31 2022/07/19 22:24:47 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/condvar.h>
@@ -94,7 +94,7 @@
 /*
  * XXX I2C stuff should be moved to a separate drmkms_i2c module.
  */
-MODULE(MODULE_CLASS_DRIVER, drmkms, "drmkms_linux");
+MODULE(MODULE_CLASS_DRIVER, drmkms, "drmkms_linux,sysmon_power");
 
 struct mutex   drm_global_mutex;
 
diff -r 59bdd2b6eccd -r d7d0ef425437 sys/external/bsd/drm2/drm/files.drmkms
--- a/sys/external/bsd/drm2/drm/files.drmkms    Tue Jul 19 22:24:33 2022 +0000
+++ b/sys/external/bsd/drm2/drm/files.drmkms    Tue Jul 19 22:24:47 2022 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.drmkms,v 1.73 2022/05/22 00:10:56 tnn Exp $
+#      $NetBSD: files.drmkms,v 1.74 2022/07/19 22:24:47 riastradh Exp $
 
 version        20180827
 
@@ -10,7 +10,7 @@
 # ARM SoC graphics drivers.
 define drmkms_i2c: drmkms_linux
 
-define drmkms: drmkms_linux, drmkms_i2c, linux
+define drmkms: drmkms_linux, drmkms_i2c, linux, sysmon_power
 
 # This code comes from the Linux kernel, which assumes signed
 # overflow is OK.



Home | Main Index | Thread Index | Old Index