The branch main has been updated by dumbbell:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=53baadc2f6154d738f935a9dcc26648d2b3d89fd

commit 53baadc2f6154d738f935a9dcc26648d2b3d89fd
Author:     Jean-Sébastien Pédron <[email protected]>
AuthorDate: 2026-06-12 13:58:06 +0000
Commit:     Jean-Sébastien Pédron <[email protected]>
CommitDate: 2026-06-20 10:35:08 +0000

    linuxkpi: Define a bunch of constants in <acpi/video.h>
    
    `ACPI_VIDEO_NOTIFY_PROBE` was already defined. Let's define the whole
    set once and for all.
    
    The amdgpu DRM driver started to use `ACPI_VIDEO_DISPLAY_LCD` in Linux
    6.13.
    
    Reviewed by:    emaste
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D57575
---
 sys/compat/linuxkpi/common/include/acpi/video.h | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/sys/compat/linuxkpi/common/include/acpi/video.h 
b/sys/compat/linuxkpi/common/include/acpi/video.h
index fd2ffd6764d0..64c222bc2429 100644
--- a/sys/compat/linuxkpi/common/include/acpi/video.h
+++ b/sys/compat/linuxkpi/common/include/acpi/video.h
@@ -34,7 +34,25 @@
 
 #define        ACPI_VIDEO_CLASS        "video"
 
-#define        ACPI_VIDEO_NOTIFY_PROBE 0x81
+#define        ACPI_VIDEO_DISPLAY_CRT  1
+#define        ACPI_VIDEO_DISPLAY_TV   2
+#define        ACPI_VIDEO_DISPLAY_DVI  3
+#define        ACPI_VIDEO_DISPLAY_LCD  4
+
+#define        ACPI_VIDEO_DISPLAY_LEGACY_MONITOR       0x0100
+#define        ACPI_VIDEO_DISPLAY_LEGACY_PANEL         0x0110
+#define        ACPI_VIDEO_DISPLAY_LEGACY_TV            0x0200
+
+#define        ACPI_VIDEO_NOTIFY_SWITCH                0x80
+#define        ACPI_VIDEO_NOTIFY_PROBE                 0x81
+#define        ACPI_VIDEO_NOTIFY_CYCLE                 0x82
+#define        ACPI_VIDEO_NOTIFY_NEXT_OUTPUT           0x83
+#define        ACPI_VIDEO_NOTIFY_PREV_OUTPUT           0x84
+#define        ACPI_VIDEO_NOTIFY_CYCLE_BRIGHTNESS      0x85
+#define        ACPI_VIDEO_NOTIFY_INC_BRIGHTNESS        0x86
+#define        ACPI_VIDEO_NOTIFY_DEC_BRIGHTNESS        0x87
+#define        ACPI_VIDEO_NOTIFY_ZERO_BRIGHTNESS       0x88
+#define        ACPI_VIDEO_NOTIFY_DISPLAY_OFF           0x89
 
 static inline int
 acpi_video_register(void)

Reply via email to