mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
panfrost: use perf_debug instead of open-coding
We don't need to open-code perf_debug here...
Fixes: bc55d150a9 ("panfrost: Add support for AFBC packing")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26063>
This commit is contained in:
parent
054188bff8
commit
385b81c8c2
1 changed files with 2 additions and 3 deletions
|
|
@ -1532,9 +1532,8 @@ panfrost_pack_afbc(struct panfrost_context *ctx,
|
|||
if (ratio > screen->max_afbc_packing_ratio)
|
||||
return;
|
||||
|
||||
if (dev->debug & PAN_DBG_PERF) {
|
||||
printf("%i%%: %i KB -> %i KB\n", ratio, old_size / 1024, new_size / 1024);
|
||||
}
|
||||
perf_debug(dev, "%i%%: %i KB -> %i KB\n", ratio, old_size / 1024,
|
||||
new_size / 1024);
|
||||
|
||||
struct panfrost_bo *dst =
|
||||
panfrost_bo_create(dev, new_size, 0, "AFBC compact texture");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue