From f841f4028ca37c3e4b49240b7f999dd07709724c Mon Sep 17 00:00:00 2001 From: Ben Widawsky Date: Sat, 24 Mar 2012 19:04:10 -0700 Subject: tests: rc6 residency test This is meant to test the sysfs entry for showing rc6 residency in milliseconds. Remember, sysfs is a permanent interface. v2: use new get_card interface to try "all" devices check rc6p and rc6pp in addition to rc6 v3: rename rc6_residency.c to sysfs_rc6_residency.c print better error messages skip test if rc6 isn't enabled v4: update to new sysfs names Acked-by: Daniel Vetter Signed-off-by: Ben Widawsky --- lib/drmtest.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/drmtest.h b/lib/drmtest.h index ea5e5029..f4462a23 100644 --- a/lib/drmtest.h +++ b/lib/drmtest.h @@ -35,6 +35,7 @@ #include "xf86drm.h" #include "intel_batchbuffer.h" +int drm_get_card(int master); int drm_open_any(void); int drm_open_any_master(void); -- cgit v1.2.3