summaryrefslogtreecommitdiff
path: root/overlay/gpu-freq.c
diff options
context:
space:
mode:
Diffstat (limited to 'overlay/gpu-freq.c')
-rw-r--r--overlay/gpu-freq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/overlay/gpu-freq.c b/overlay/gpu-freq.c
index b34f66f2..0a400be6 100644
--- a/overlay/gpu-freq.c
+++ b/overlay/gpu-freq.c
@@ -38,7 +38,7 @@ int gpu_freq_init(struct gpu_freq *gf)
memset(gf, 0, sizeof(*gf));
- sprintf(buf, "%s/i915_cur_delayinfo", debugfs_path);
+ sprintf(buf, "%s/i915_cur_delayinfo", debugfs_dri_path);
fd = open(buf, 0);
if (fd < 0)
return gf->error = errno;
@@ -85,7 +85,7 @@ int gpu_freq_update(struct gpu_freq *gf)
if (gf->error)
return gf->error;
- sprintf(buf, "%s/i915_cur_delayinfo", debugfs_path);
+ sprintf(buf, "%s/i915_cur_delayinfo", debugfs_dri_path);
fd = open(buf, 0);
if (fd < 0)
return gf->error = errno;