svn commit: r367234 - head/sys/dev/acpica

Vladimir Kondratyev wulf at FreeBSD.org
Sat Oct 31 20:28:14 UTC 2020


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);


More information about the svn-src-all mailing list