File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
framework_lib/src/commandline Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ use crate::esrt;
5050#[ cfg( feature = "rusb" ) ]
5151use crate :: inputmodule:: check_inputmodule_version;
5252use crate :: os_specific;
53+ use crate :: parade_retimer;
5354use crate :: power;
5455use crate :: smbios;
5556use crate :: smbios:: ConfigDigit0 ;
@@ -677,7 +678,7 @@ fn print_versions(ec: &CrosEc) {
677678 }
678679 }
679680 if has_retimer {
680- println ! ( "Retimers" ) ;
681+ println ! ( "Intel Retimers" ) ;
681682 if let Some ( fw_version) = left_retimer {
682683 println ! ( " Left: 0x{:X} ({})" , fw_version, fw_version) ;
683684 }
@@ -689,6 +690,21 @@ fn print_versions(ec: &CrosEc) {
689690 println ! ( " Unknown" ) ;
690691 }
691692 }
693+ match parade_retimer:: get_version ( ec) {
694+ // Does not exist
695+ Ok ( None ) => { }
696+ Ok ( Some ( ver) ) => {
697+ println ! ( "Parade Retimers" ) ;
698+ println ! (
699+ " dGPU: {:X}.{:X}.{:X}.{:X}" ,
700+ ver[ 0 ] , ver[ 1 ] , ver[ 2 ] , ver[ 3 ]
701+ ) ;
702+ }
703+ _err => {
704+ println ! ( "Parade Retimers" ) ;
705+ println ! ( " Unknown" ) ;
706+ }
707+ }
692708
693709 #[ cfg( target_os = "linux" ) ]
694710 if smbios:: get_platform ( ) . and_then ( Platform :: which_cpu_vendor) != Some ( util:: CpuVendor :: Amd ) {
You can’t perform that action at this time.
0 commit comments