summaryrefslogtreecommitdiff
path: root/tests/debugfs_test.c
diff options
context:
space:
mode:
authorAbdiel Janulgue <abdiel.janulgue@linux.intel.com>2017-07-06 10:43:22 +0300
committerAbdiel Janulgue <abdiel.janulgue@linux.intel.com>2017-07-06 10:43:22 +0300
commit91b26a7559ee58a101fc27822bfa0e6528d8b6a5 (patch)
treed54212b2d64349912aa011266267f01564e89b62 /tests/debugfs_test.c
parent9a6ed6c6398c2218d65392593fa43852810515cc (diff)
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 <maarten.lankhorst@linux.intel.com> Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Diffstat (limited to 'tests/debugfs_test.c')
-rw-r--r--tests/debugfs_test.c2
1 files changed, 0 insertions, 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);