diff options
author | Thomas Hellstrom (VMware) <[email protected]> | 2020-03-24 18:50:12 +0100 |
---|---|---|
committer | Thomas Hellstrom (VMware) <[email protected]> | 2020-03-24 18:50:12 +0100 |
commit | 7546f7ffdb5cbe12689d94fe657608364d2f7773 (patch) | |
tree | 475d19fcd58c214545131e782596c5c6d7ff4bb3 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | b182341667091c8edfb24a7caae600a2f08d7857 (diff) |
drm/vmwgfx: Introduce a huge page aligning TTM range manager
Using huge page-table entries requires that the physical address of the
start of a buffer object is huge page size aligned.
Make a special version of the TTM range manager that accomplishes this,
but falls back to a smaller page size alignment (PUD->PMD, PMD->NORMAL)
to avoid eviction.
If other drivers want to use it in the future, it can be made a
TTM generic helper. Note that drivers can force eviction for a certain
alignment by assigning the TTM GPU alignment correspondingly.
Cc: Andrew Morton <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: "Matthew Wilcox (Oracle)" <[email protected]>
Cc: "Kirill A. Shutemov" <[email protected]>
Cc: Ralph Campbell <[email protected]>
Cc: "Jérôme Glisse" <[email protected]>
Cc: "Christian König" <[email protected]>
Cc: Dan Williams <[email protected]>
Signed-off-by: Thomas Hellstrom (VMware) <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Acked-by: Christian König <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions