From 5738f1952d8b62bb2dea643ae8cfa3c308a45797 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Sat, 2 Nov 2013 12:27:24 +0100 Subject: [PATCH] tests: establish pm_ prefix Imo power management, power consumption and performance are tightly enough coupled that we can throw them all into one bin. Signed-off-by: Daniel Vetter --- tests/.gitignore | 6 +++--- tests/Makefile.am | 6 +++--- tests/NAMING-CONVENTION | 3 +++ tests/{pc8.c => pm_pc8.c} | 0 tests/{sysfs_rc6_residency.c => pm_rc6_residency.c} | 0 tests/{sysfs_rps.c => pm_rps.c} | 0 6 files changed, 9 insertions(+), 6 deletions(-) rename tests/{pc8.c => pm_pc8.c} (100%) rename tests/{sysfs_rc6_residency.c => pm_rc6_residency.c} (100%) rename tests/{sysfs_rps.c => pm_rps.c} (100%) diff --git a/tests/.gitignore b/tests/.gitignore index 8df0836..e99b2da 100644 --- a/tests/.gitignore +++ b/tests/.gitignore @@ -106,13 +106,13 @@ kms_cursor_crc kms_flip kms_render kms_setmode -pc8 +pm_pc8 +pm_rc6_residency +pm_rps prime_nv_api prime_nv_pcopy prime_nv_test prime_self_import prime_udl -sysfs_rc6_residency -sysfs_rps template testdisplay diff --git a/tests/Makefile.am b/tests/Makefile.am index 94cdcd0..4e2813f 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -57,7 +57,7 @@ TESTS_progs_M = \ kms_render \ kms_setmode \ $(NOUVEAU_TESTS_M) \ - pc8 \ + pm_pc8 \ prime_self_import \ template \ $(NULL) @@ -120,8 +120,8 @@ TESTS_progs = \ getstats \ getversion \ prime_udl \ - sysfs_rc6_residency \ - sysfs_rps \ + pm_rc6_residency \ + pm_rps \ $(NULL) # IMPORTANT: The ZZ_ tests need to be run last! diff --git a/tests/NAMING-CONVENTION b/tests/NAMING-CONVENTION index c22e4cf..f57033c 100644 --- a/tests/NAMING-CONVENTION +++ b/tests/NAMING-CONVENTION @@ -19,6 +19,9 @@ dri3/wayland) and actual multi-gpu tests. drv_: Tests for overall driver behaviour like module reload, s/r, debugfs files. +pm_: Tests for power management features like runtime PM, tuning knobs in sysfs +and also performance tuning features. + gen3_: Used by Chris' gen3 specific tiling/fencing tests. Generally tests that only run on some platforms don't have a specific prefix but just skip on platforms where the test doesn't apply. diff --git a/tests/pc8.c b/tests/pm_pc8.c similarity index 100% rename from tests/pc8.c rename to tests/pm_pc8.c diff --git a/tests/sysfs_rc6_residency.c b/tests/pm_rc6_residency.c similarity index 100% rename from tests/sysfs_rc6_residency.c rename to tests/pm_rc6_residency.c diff --git a/tests/sysfs_rps.c b/tests/pm_rps.c similarity index 100% rename from tests/sysfs_rps.c rename to tests/pm_rps.c -- 2.7.4