mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-23 15:56:33 +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:
parent
574d62db39
commit
5d607a744f
@ -72,8 +72,12 @@ int gpu_freq_init(struct gpu_freq *gf)
|
||||
|
||||
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);
|
||||
if (fd < 0) {
|
||||
sprintf(buf, "%s/i915_cur_delayinfo", debugfs_dri_path);
|
||||
fd = open(buf, 0);
|
||||
}
|
||||
if (fd < 0)
|
||||
return gf->error = errno;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user