Signed-off-by: Rodrigo Vivi <rodrigo.v...@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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to