intel/aub: Return early if we disable aub dumps
No need to prepare the .aub header and dump in that case, it'll be done with the next call with true. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>main
parent
5925758066
commit
1e4f63bbc8
|
@ -2885,6 +2885,7 @@ drm_intel_bufmgr_gem_set_aub_dump(drm_intel_bufmgr *bufmgr, int enable)
|
|||
fclose(bufmgr_gem->aub_file);
|
||||
bufmgr_gem->aub_file = NULL;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if (geteuid() != getuid())
|
||||
|
|
Loading…
Reference in New Issue