diff options
| author | Daniele Ceraolo Spurio <[email protected]> | 2023-06-14 10:47:54 -0700 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2023-12-21 11:34:42 -0500 |
| commit | ab10e976fbda8349163ceee2ce99b2bfc97031b8 (patch) | |
| tree | d9dd64d7b922eb508852b8791d47a9381e2277f4 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | ff063430caa810f2195d2390e79a990eb101c527 (diff) | |
drm/xe: limit GGTT size to GUC_GGTT_TOP
The GuC can't access addresses above GUC_GGTT_TOP, so any GuC-accessible
objects can't be mapped above that offset. Instead of checking each
object to see if GuC may access it or not before mapping it, we just
limit the GGTT size to GUC_GGTT_TOP. This wastes a bit of address space
(about ~18 MBs, which is in addition to what already removed at the bottom
of the GGTT), but it is a good tradeoff to keep the code simple.
The in-code comment has also been updated to explain the limitation.
Signed-off-by: Daniele Ceraolo Spurio <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://lore.kernel.org/r/[email protected]/
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions