mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-11 16:32:58 +00:00
list-workarounds: Don't prepend kernel_path to the driver directory
We are changing the cwd, so we just need the relative patch from the root for the kernel git repo. This allows the script to work from anywhere. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
@@ -91,7 +91,7 @@ if __name__ == '__main__':
|
||||
% kernel_path)
|
||||
sys.exit(1)
|
||||
|
||||
i915_dir = os.path.join(kernel_path, 'drivers', 'gpu', 'drm', 'i915')
|
||||
i915_dir = os.path.join('drivers', 'gpu', 'drm', 'i915')
|
||||
olddir = os.getcwd()
|
||||
os.chdir(kernel_path)
|
||||
work_arounds, err = execute(['git', 'grep', '-n',
|
||||
|
||||
Reference in New Issue
Block a user