From 6d832bbbfd254a4f88a607ab108037349b94bda2 Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Fri, 8 Mar 2024 12:07:13 -0700 Subject: [PATCH] Add oryp12 Signed-off-by: Tim Crawford --- src/graphics.rs | 1 + src/hotplug/mod.rs | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/src/graphics.rs b/src/graphics.rs index a03fa77e..f8aa861c 100644 --- a/src/graphics.rs +++ b/src/graphics.rs @@ -116,6 +116,7 @@ const EXTERNAL_DISPLAY_REQUIRES_NVIDIA: &[&str] = &[ "oryp9", "oryp10", "oryp11", + "oryp12", "serw13", ]; diff --git a/src/hotplug/mod.rs b/src/hotplug/mod.rs index 7ae22934..25142904 100644 --- a/src/hotplug/mod.rs +++ b/src/hotplug/mod.rs @@ -348,6 +348,18 @@ impl HotPlugDetect { ], }), }), + "oryp12" => Ok(Self { + integrated: Integrated::Intel(Intel { + sideband: Sideband::new(0xE000_0000)?, + port: 0x6E, + pins: [ + 0x04, // HDMI + 0x08, // Mini DisplayPort + NO_PIN, // TOOD: USB-C? + NO_PIN, // NC + ], + }), + }), "serw13" => Ok(Self { integrated: Integrated::Intel(Intel { sideband: Sideband::new(0xE000_0000)?,