mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 05:43:02 +00:00
intel-gpu-overlay: Update debugfs path for min/max frequency
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
+5
-1
@@ -72,8 +72,12 @@ int gpu_freq_init(struct gpu_freq *gf)
|
|||||||
|
|
||||||
gf->fd = perf_open();
|
gf->fd = perf_open();
|
||||||
|
|
||||||
sprintf(buf, "%s/i915_cur_delayinfo", debugfs_dri_path);
|
sprintf(buf, "%s/i915_frequency_info", debugfs_dri_path);
|
||||||
fd = open(buf, 0);
|
fd = open(buf, 0);
|
||||||
|
if (fd < 0) {
|
||||||
|
sprintf(buf, "%s/i915_cur_delayinfo", debugfs_dri_path);
|
||||||
|
fd = open(buf, 0);
|
||||||
|
}
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
return gf->error = errno;
|
return gf->error = errno;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user