diff options
author | 2024-10-26 04:43:54 +0800 | |
---|---|---|
committer | 2024-10-28 16:36:01 +0100 | |
commit | b5f1eed853c6ea6a99149fd97fe179f3ebd96a02 (patch) | |
tree | 9095fd8a8a80e7c68181289d4954c01c8fbd14bc /scripts/generate_rust_analyzer.py | |
parent | drm/etnaviv: take current primitive into account when checking for hung GPU (diff) | |
download | wireguard-linux-b5f1eed853c6ea6a99149fd97fe179f3ebd96a02.tar.xz wireguard-linux-b5f1eed853c6ea6a99149fd97fe179f3ebd96a02.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions