summaryrefslogtreecommitdiff
path: root/units
diff options
authorPMR <pmr@pmr-lander>2019-10-18 08:25:25 +0000
committerPMR <pmr@pmr-lander>2019-10-18 08:25:25 +0000
commit0e58ff12af843b8290471536f302a004cfe47453 (patch)
treee8bcbbe7b4a045e3d4a26f3a711f1f7db6dfacba /units
parent08f8a1bd8f59515e18b1a690cfb9d534fc14c36a (diff)
parenta3d3f950fa9fad4641c4cdcc8cb9e9c9e0d2569b (diff)
Merge #373544 from ~ray.chen/plainbox-provider-checkbox:add-nvlink-test
Diffstat (limited to 'units')
-rw-r--r--units/graphics/jobs.pxu13
1 files changed, 13 insertions, 0 deletions
diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu
index 89b5a00..56f4158 100644
--- a/units/graphics/jobs.pxu
+++ b/units/graphics/jobs.pxu
@@ -525,3 +525,16 @@ command:
{switch_to_cmd}
pm_test --silent --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox reboot --log-level=debug --log-dir=$PLAINBOX_SESSION_SHARE
flags: noreturn preserve-locale also-after-suspend
+
+plugin: shell
+category_id: com.canonical.plainbox::graphics
+id: graphics/nvlink-status-check
+requires:
+ dmi.product in ['Desktop','Low Profile Desktop','Tower','Mini Tower', 'Space-saving']
+ graphics_card.driver == 'nvidia'
+ package.name == 'nvidia-smi'
+command: nvidia_nvlink_check
+_summary: Check NVIDIA NVLINK status
+_description: Check NVLINK are supported and NVLINK are connected properly on system, please make sure below items before testing:
+ 1. More than one NVIDIA Graphic card are installed.
+ 2. Each graphic card are connected by NVLINK.