Skip to content

Commit 5be2cb7

Browse files
committed
--versions: Don't show parade error unnecessarily:
Signed-off-by: Daniel Schaefer <[email protected]>
1 parent 0533f89 commit 5be2cb7

File tree

1 file changed

+7
-2
lines changed
  • framework_lib/src/commandline

1 file changed

+7
-2
lines changed

framework_lib/src/commandline/mod.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -705,8 +705,13 @@ fn print_versions(ec: &CrosEc) {
705705
);
706706
}
707707
_err => {
708-
println!("Parade Retimers");
709-
println!(" Unknown");
708+
// Only Framework 16 has dGPU support (which has Parade Retimer)
709+
if smbios::get_platform().and_then(Platform::which_family)
710+
== Some(PlatformFamily::Framework16)
711+
{
712+
println!("Parade Retimers");
713+
println!(" Unknown");
714+
}
710715
}
711716
}
712717

0 commit comments

Comments
 (0)