From 91b26a7559ee58a101fc27822bfa0e6528d8b6a5 Mon Sep 17 00:00:00 2001 From: Abdiel Janulgue Date: Thu, 6 Jul 2017 10:43:22 +0300 Subject: Revert "igt/debugfs_test: Skip dummy reads for crtc-n/crc/data" This reverts commit 9a6ed6c6398c2218d65392593fa43852810515cc. Test actually exposes a bug in the kernel where opening the crtc-data file takes a long time. Cc: Maarten Lankhorst Cc: Arkadiusz Hiler --- tests/debugfs_test.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/debugfs_test.c b/tests/debugfs_test.c index fb1735bf..287ffeb3 100644 --- a/tests/debugfs_test.c +++ b/tests/debugfs_test.c @@ -44,8 +44,6 @@ static void read_and_discard_sysfs_entries(int path_fd, bool is_crc) continue; if (dirent->d_type == DT_DIR) { int sub_fd = -1; - if (strstr(dirent->d_name, "crtc-")) - continue; igt_assert((sub_fd = openat(path_fd, dirent->d_name, O_RDONLY | O_DIRECTORY)) > 0); -- cgit v1.2.3