mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-09 07:28:42 +02:00
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>
This commit is contained in:
parent
5925758066
commit
1e4f63bbc8
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue