aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMaíra Canal <mcanal@igalia.com>2024-09-23 10:55:12 -0300
committerMaíra Canal <mcanal@igalia.com>2024-09-25 08:40:23 -0300
commite4c17720262f394f6320a2b6e17a128bfdabb37c (patch)
tree4365a06a56852e79954b75125cdcbee6aa029752 /tools/perf/scripts/python
parentdrm/v3d: Reduce the alignment of the node allocation (diff)
downloadwireguard-linux-e4c17720262f394f6320a2b6e17a128bfdabb37c.tar.xz
wireguard-linux-e4c17720262f394f6320a2b6e17a128bfdabb37c.zip
drm/v3d: Support Big/Super Pages when writing out PTEs
The V3D MMU also supports 64KB and 1MB pages, called big and super pages, respectively. In order to set a 64KB page or 1MB page in the MMU, we need to make sure that page table entries for all 4KB pages within a big/super page must be correctly configured. In order to create a big/super page, we need a contiguous memory region. That's why we use a separate mountpoint with THP enabled. In order to place the page table entries in the MMU, we iterate over the 16 4KB pages (for big pages) or 256 4KB pages (for super pages) and insert the PTE. Signed-off-by: Maíra Canal <mcanal@igalia.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240923141348.2422499-9-mcanal@igalia.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions