summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_system.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-11-03 08:33:18 -0500
committerMichael Larabel <michael@phx-laptop.(none)>2008-11-03 08:33:18 -0500
commitdf022b193d111b37dc8220d93d09c865ba205ee6 (patch)
tree13289eb177ed2b5e75ce1d0a55b9ce3ee0e544b8 /pts-core/functions/pts-functions_system.php
parent5cfbd53dd3f65a9055ab484b00fda5e2671b5eac (diff)
downloadphoronix-test-suite-upstream-df022b193d111b37dc8220d93d09c865ba205ee6.tar.gz
phoronix-test-suite-upstream-df022b193d111b37dc8220d93d09c865ba205ee6.tar.xz
phoronix-test-suite-upstream-df022b193d111b37dc8220d93d09c865ba205ee6.zip
pts-core: Add support for reading X.Org module / driver versions using
read_xorg_module_version() pts-core: Where applicable, report X.Org DDX driver and version to software information string
Diffstat (limited to 'pts-core/functions/pts-functions_system.php')
-rw-r--r--pts-core/functions/pts-functions_system.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/pts-core/functions/pts-functions_system.php b/pts-core/functions/pts-functions_system.php
index d12b05f..4249e48 100644
--- a/pts-core/functions/pts-functions_system.php
+++ b/pts-core/functions/pts-functions_system.php
@@ -50,6 +50,12 @@ function pts_sw_string()
array_push($software, "OS: " . operating_system_release());
array_push($software, "Kernel: " . kernel_string() . " (" . kernel_arch() . ")");
array_push($software, "X.Org Server: " . graphics_subsystem_version());
+
+ if(($ddx = xorg_ddx_driver_info()) != "")
+ {
+ array_push($software, "X.Org Driver: " . $ddx);
+ }
+
array_push($software, "OpenGL: " . opengl_version());
array_push($software, "Compiler: " . compiler_version());
array_push($software, "File-System: " . filesystem_type());