ac/gpu_info: remove tabs

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17411>
This commit is contained in:
Marek Olšák 2022-07-03 15:10:15 -04:00 committed by Marge Bot
parent f218c3d795
commit dd6b001775
1 changed files with 8 additions and 8 deletions

View File

@ -1256,12 +1256,12 @@ bool ac_query_gpu_info(int fd, void *dev_p, struct radeon_info *info,
const char *ib_filename = debug_get_option("AMD_PARSE_IB", NULL);
if (ib_filename) {
FILE *f = fopen(ib_filename, "r");
if (f) {
fseek(f, 0, SEEK_END);
FILE *f = fopen(ib_filename, "r");
if (f) {
fseek(f, 0, SEEK_END);
size_t size = ftell(f);
uint32_t *ib = (uint32_t *)malloc(size);
fseek(f, 0, SEEK_SET);
uint32_t *ib = (uint32_t *)malloc(size);
fseek(f, 0, SEEK_SET);
size_t n_read = fread(ib, 1, size, f);
fclose(f);
@ -1271,9 +1271,9 @@ bool ac_query_gpu_info(int fd, void *dev_p, struct radeon_info *info,
}
ac_parse_ib(stdout, ib, size / 4, NULL, 0, "IB", info->gfx_level, NULL, NULL);
free(ib);
exit(0);
}
free(ib);
exit(0);
}
}
return true;
}