diff options
author | Rob Herring <[email protected]> | 2019-04-11 16:53:13 -0500 |
---|---|---|
committer | Rob Herring <[email protected]> | 2019-04-12 13:33:58 -0500 |
commit | 4dff47c7607a7ceb9916fec179dc88e7b90f3b7c (patch) | |
tree | 13b15ce9d047bd089e42f524083f0cb271866ae2 /scripts/gdb/linux/utils.py | |
parent | f3ba91228e8e917e5bd6c4b72bfe846933d17370 (diff) |
drm/panfrost: Add support for 2MB page entries
Add support for 2MB sized pages. This will improve our map and unmap
times and save a bit of memory by avoiding 3rd level page tables for
contiguous allocations.
As we use shmem for buffers and huge page allocations for shmem are off
by default, there isn't an improvement out of the box and userspace must
enable THP for shmem.
It's not clear if the h/w can support 1GB page sizes which standard
ARM long format descriptors support. In any case, it is unlikely we'll
see any contiguous 1GB allocations on current h/w.
Cc: Tomeu Vizoso <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Acked-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Steven Price <[email protected]>
Acked-by: Tomeu Vizoso <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions