summaryrefslogtreecommitdiff
path: root/tests/gem_caching.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_caching.c')
-rw-r--r--tests/gem_caching.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/gem_caching.c b/tests/gem_caching.c
index 259662f5..ed58c28f 100644
--- a/tests/gem_caching.c
+++ b/tests/gem_caching.c
@@ -118,10 +118,7 @@ int main(int argc, char **argv)
fd = drm_open_any();
- if (!gem_has_caching(fd)) {
- printf("no set_caching support detected\n");
- return 77;
- }
+ gem_check_caching(fd);
devid = intel_get_drm_devid(fd);
if (IS_GEN2(devid)) /* chipset only handles cached -> uncached */