diff --git a/lact-gui/src/app/pages/info_page/hardware_info.rs b/lact-gui/src/app/pages/info_page/hardware_info.rs index 5db7034..1b79ace 100644 --- a/lact-gui/src/app/pages/info_page/hardware_info.rs +++ b/lact-gui/src/app/pages/info_page/hardware_info.rs @@ -112,6 +112,13 @@ impl HardwareInfoSection { memory_info.cpu_accessible_total / 1024 / 1024 )); } + + if let Some(units) = drm_info.intel.execution_units { + self.set_execution_units(units.to_string()); + } + if let Some(subslices) = drm_info.intel.subslices { + self.set_subslices(subslices.to_string()); + } } self.set_driver_used(info.driver.as_str()); @@ -179,6 +186,10 @@ mod imp { #[property(get, set)] compute_units: RefCell, #[property(get, set)] + execution_units: RefCell, + #[property(get, set)] + subslices: RefCell, + #[property(get, set)] cuda_cores: RefCell, #[property(get, set)] vbios_version: RefCell, diff --git a/lact-gui/ui/info_page/hardware_info_section.blp b/lact-gui/ui/info_page/hardware_info_section.blp index 9138da5..c33447a 100644 --- a/lact-gui/ui/info_page/hardware_info_section.blp +++ b/lact-gui/ui/info_page/hardware_info_section.blp @@ -42,6 +42,18 @@ template $HardwareInfoSection: $PageSection { selectable: true; } + $InfoRow { + name: "Execution Units:"; + value: bind template.execution_units; + selectable: true; + } + + $InfoRow { + name: "Subslices:"; + value: bind template.subslices; + selectable: true; + } + $InfoRow { name: "Cuda Cores:"; value: bind template.cuda_cores;