summaryrefslogtreecommitdiff
path: root/tests/pm_rps.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pm_rps.c')
-rw-r--r--tests/pm_rps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/pm_rps.c b/tests/pm_rps.c
index 5a54d9d4..74d53710 100644
--- a/tests/pm_rps.c
+++ b/tests/pm_rps.c
@@ -690,6 +690,8 @@ igt_main
/* Use drm_open_driver to verify device existence */
drm_fd = drm_open_driver(DRIVER_INTEL);
+ igt_require_gem(drm_fd);
+ igt_require(gem_can_store_dword(drm_fd, 0));
do {
int val = -1;