Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/include/linux Trivial vga_switcheroo s...



details:   https://anonhg.NetBSD.org/src/rev/51d22ed99674
branches:  trunk
changeset: 1028083:51d22ed99674
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:48:52 2021 +0000

description:
Trivial vga_switcheroo stub.

diffstat:

 sys/external/bsd/drm2/include/linux/vga_switcheroo.h |  12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 25b6f88f6dfa -r 51d22ed99674 sys/external/bsd/drm2/include/linux/vga_switcheroo.h
--- a/sys/external/bsd/drm2/include/linux/vga_switcheroo.h      Sun Dec 19 01:48:45 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/vga_switcheroo.h      Sun Dec 19 01:48:52 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vga_switcheroo.h,v 1.2 2014/03/18 18:20:43 riastradh Exp $     */
+/*     $NetBSD: vga_switcheroo.h,v 1.3 2021/12/19 01:48:52 riastradh Exp $     */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -32,4 +32,14 @@
 #ifndef _LINUX_VGA_SWITCHEROO_H_
 #define _LINUX_VGA_SWITCHEROO_H_
 
+#include <sys/cdefs.h>
+
+#define        VGA_SWITCHEROO_CAN_SWITCH_DDC   __BIT(0)
+
+static inline int
+vga_switcheroo_handler_flags(void)
+{
+       return 0;
+}
+
 #endif  /* _LINUX_VGA_SWITCHEROO_H_ */



Home | Main Index | Thread Index | Old Index