summaryrefslogtreecommitdiffstats
path: root/src/intel/tools/intel_dump_gpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/tools/intel_dump_gpu.c')
-rw-r--r--src/intel/tools/intel_dump_gpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/tools/intel_dump_gpu.c b/src/intel/tools/intel_dump_gpu.c
index 6ce7d452afb..1abe54147cf 100644
--- a/src/intel/tools/intel_dump_gpu.c
+++ b/src/intel/tools/intel_dump_gpu.c
@@ -349,7 +349,7 @@ maybe_init(void)
initialized = true;
- config = fdopen(3, "r");
+ config = fopen(getenv("INTEL_DUMP_GPU_CONFIG"), "r");
while (fscanf(config, "%m[^=]=%m[^\n]\n", &key, &value) != EOF) {
if (!strcmp(key, "verbose")) {
if (!strcmp(value, "1")) {