[Intel-gfx] [PATCH 02/12] tests/kms_sink_crc_basic: Use igt_debugfs_fopen
Rodrigo Vivi
rodrigo.vivi at intel.com
Thu Sep 4 03:29:56 CEST 2014
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
---
tests/kms_sink_crc_basic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/kms_sink_crc_basic.c b/tests/kms_sink_crc_basic.c
index 443f82e..3703dc1 100644
--- a/tests/kms_sink_crc_basic.c
+++ b/tests/kms_sink_crc_basic.c
@@ -52,7 +52,7 @@ typedef struct {
static void get_crc(char *crc) {
int ret;
- FILE *file = fopen("/sys/kernel/debug/dri/0/i915_sink_crc_eDP1", "r");
+ FILE *file = igt_debugfs_fopen("i915_sink_crc_eDP1", "r");
igt_require(file);
ret = fscanf(file, "%s\n", crc);
--
1.9.3
More information about the Intel-gfx
mailing list