Displaying 1 result from an estimated 1 matches for "nouveau_dsm_gmux_unk7".
2015 Jan 17
0
[PATCH RFC] nouveau: Add support for Gmux _DSM method
...(+), 6 deletions(-)
diff --git a/drm/nouveau_acpi.c b/drm/nouveau_acpi.c
index 6224246..a71229a 100644
--- a/drm/nouveau_acpi.c
+++ b/drm/nouveau_acpi.c
@@ -29,6 +29,8 @@
#define NOUVEAU_DSM_OPTIMUS_SET_POWERDOWN (NOUVEAU_DSM_OPTIMUS_POWERDOWN_PS3 | NOUVEAU_DSM_OPTIMUS_FLAGS_CHANGED)
+#define NOUVEAU_DSM_GMUX_UNK7 0x7
+
/* result of the optimus caps function */
#define OPTIMUS_ENABLED (1 << 0)
#define OPTIMUS_STATUS_MASK (3 << 3)
@@ -45,6 +47,7 @@
static struct nouveau_dsm_priv {
bool dsm_detected;
bool optimus_detected;
+ bool gmux_detected;
acpi_handle dhandle;
acpi_handle rom_handl...