Date: Sat, 31 Oct 2020 20:28:14 +0000 (UTC) From: Vladimir Kondratyev <wulf@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r367234 - head/sys/dev/acpica Message-ID: <202010312028.09VKSExN085310@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010312028.09VKSExN085310>