Trigger a kevent when we change the backlight. This gives the Xorg
authorkettenis <kettenis@openbsd.org>
Mon, 5 Dec 2022 07:37:57 +0000 (07:37 +0000)
committerkettenis <kettenis@openbsd.org>
Mon, 5 Dec 2022 07:37:57 +0000 (07:37 +0000)
commit141f4e1756e0587ede9f0d04081c7f82d3c48887
tree7058a2af1c7bb1628025e944c24d0f3d31d8072e
parent603e43a22982c1a0a52036087c7d6ccc94391d3f
Trigger a kevent when we change the backlight.  This gives the Xorg
drivers a chance to notice the update of the Backlight connector property
when we change it behind its back.

ok jsg@
sys/dev/pci/drm/drm_connector.c
sys/dev/pci/drm/drm_mode_object.c
sys/dev/pci/drm/i915/i915_drv.c