diff options
author | Sui Jingfeng <sui.jingfeng@linux.dev> | 2024-10-25 23:43:54 +0300 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2024-10-28 18:36:01 +0300 |
commit | b5f1eed853c6ea6a99149fd97fe179f3ebd96a02 (patch) | |
tree | 9095fd8a8a80e7c68181289d4954c01c8fbd14bc /tools/perf/scripts/python/gecko.py | |
parent | e1f3220b957a55a875d668f3e2fadd6315c8bbf4 (diff) | |
download | linux-b5f1eed853c6ea6a99149fd97fe179f3ebd96a02.tar.xz |
drm/etnaviv: Record GPU visible size of GEM BO separately
The GPU visible size of a GEM BO is not necessarily PAGE_SIZE aligned,
which happens when CPU page size is not equal to GPU page size. Extra
precious resources such as GPU page tables and GPU TLBs may being paid
because of this but never get used.
Track the size of GPU visible part of GEM BO separately, ensure no
GPUVA range wasting by aligning that size to GPU page size.
Signed-off-by: Sui Jingfeng <sui.jingfeng@linux.dev>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions