diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-11 17:42:37 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-11 17:42:37 -0400 |
commit | 1a11701f159a597f5aa2135bfd974d18e9e820f2 (patch) | |
tree | 1de09d5a7d7610b20707b1c715941b1152760f4a /pts-core/functions/pts-functions_system_graphics.php | |
parent | a936dd105499d6cbb631bfadbd7aa8503b1e280d (diff) | |
download | phoronix-test-suite-upstream-1a11701f159a597f5aa2135bfd974d18e9e820f2.tar.gz phoronix-test-suite-upstream-1a11701f159a597f5aa2135bfd974d18e9e820f2.tar.xz phoronix-test-suite-upstream-1a11701f159a597f5aa2135bfd974d18e9e820f2.zip |
pts-core: Add NVIDIA SLI detection support
Diffstat (limited to 'pts-core/functions/pts-functions_system_graphics.php')
-rw-r--r-- | pts-core/functions/pts-functions_system_graphics.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pts-core/functions/pts-functions_system_graphics.php b/pts-core/functions/pts-functions_system_graphics.php index 8dcdc8a..ff7a15c 100644 --- a/pts-core/functions/pts-functions_system_graphics.php +++ b/pts-core/functions/pts-functions_system_graphics.php @@ -537,6 +537,13 @@ function graphics_processor_string() $info = $adapters[0] . $video_ram; } } + else if(IS_NVIDIA_GRAPHICS) + { + $sli_mode = read_nvidia_extension("SLIMode"); + + if(!empty($sli_mode) && $sli_mode != "Off") + $info .= " SLI"; + } if(empty($info) || strpos($info, "Mesa ") !== FALSE) { |