artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7e3b16
)
drm/connector: send hotplug uevent on connector cleanup
author
jsg
<jsg@openbsd.org>
Mon, 9 Jan 2023 04:09:22 +0000
(
04:09
+0000)
committer
jsg
<jsg@openbsd.org>
Mon, 9 Jan 2023 04:09:22 +0000
(
04:09
+0000)
From Simon Ser
d988f0bcf579b4bcb0b7aba217a882ec150bcc2a
in linux-6.1.y/6.1.4
6fdc2d490ea1369d17afd7e6eb66fecc5b7209bc
in mainline linux
sys/dev/pci/drm/drm_connector.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/drm_connector.c
b/sys/dev/pci/drm/drm_connector.c
index
a7c69cf
..
7b75d6a
100644
(file)
--- a/
sys/dev/pci/drm/drm_connector.c
+++ b/
sys/dev/pci/drm/drm_connector.c
@@
-582,6
+582,9
@@
void drm_connector_cleanup(struct drm_connector *connector)
mutex_destroy(&connector->mutex);
memset(connector, 0, sizeof(*connector));
+
+ if (dev->registered)
+ drm_sysfs_hotplug_event(dev);
}
EXPORT_SYMBOL(drm_connector_cleanup);