diff options
author | Ben Widawsky <ben@bwidawsk.net> | 2012-03-24 19:04:10 -0700 |
---|---|---|
committer | Ben Widawsky <ben@bwidawsk.net> | 2012-04-10 21:11:13 -0700 |
commit | f841f4028ca37c3e4b49240b7f999dd07709724c (patch) | |
tree | 48b77d992aa27ba5501d7e6340f0cfd4182496b7 /lib/drmtest.h | |
parent | 2585bea428801c5542bc62d75d0d5c1ee71ff739 (diff) |
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 <daniel.vetter@ffwll.ch>
Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com>
Diffstat (limited to 'lib/drmtest.h')
-rw-r--r-- | lib/drmtest.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |