Author: wulf Date: Sat Oct 31 20:28:13 2020 New Revision: 367234 URL: https://svnweb.freebsd.org/changeset/base/367234
Log: acpi_video(4): Put display device in to D3 state on "Display off" event. As required by ACPI specs 6.3, appendix A.6, table B-8. Modified: head/sys/dev/acpica/acpi_video.c Modified: head/sys/dev/acpica/acpi_video.c ============================================================================== --- head/sys/dev/acpica/acpi_video.c Sat Oct 31 20:25:55 2020 (r367233) +++ head/sys/dev/acpica/acpi_video.c Sat Oct 31 20:28:13 2020 (r367234) @@ -846,6 +846,9 @@ acpi_video_vo_notify_handler(ACPI_HANDLE handle, UINT3 break; } break; + case VID_NOTIFY_DISP_OFF: + acpi_pwr_switch_consumer(handle, ACPI_STATE_D3); + break; } if (new_level != level) { vo_set_brightness(vo, new_level); _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"