aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDaniele Ceraolo Spurio <[email protected]>2023-06-14 10:47:54 -0700
committerRodrigo Vivi <[email protected]>2023-12-21 11:34:42 -0500
commitab10e976fbda8349163ceee2ce99b2bfc97031b8 (patch)
treed9dd64d7b922eb508852b8791d47a9381e2277f4 /tools/perf/scripts/python/bin
parentff063430caa810f2195d2390e79a990eb101c527 (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/bin')
0 files changed, 0 insertions, 0 deletions