diff options
| author | Daniele Ceraolo Spurio <[email protected]> | 2023-03-27 18:24:30 -0700 |
|---|---|---|
| committer | Daniele Ceraolo Spurio <[email protected]> | 2023-03-30 14:29:42 -0700 |
| commit | 8d8d062be6b96b1ba95a3f1a9ecaf218c9458497 (patch) | |
| tree | b775e5cee6d9b388eaafee4dff4d4ded73b581d2 /tools/perf/scripts/python | |
| parent | 9df56e5632c5055ba2bbb6c8c593a4da15181be2 (diff) | |
drm/i915/mtl: Fix MTL stolen memory GGTT mapping
The PTEs expect the offset from the base of the fake LMEM region (i.e.
the base of stolen) and not from the base of the DSM. Quoting the specs:
"Driver will set the Device Memory bit = 1 in the PTE when pointing to a
page in DSM and program the PTE with offset from LMEM_BAR. Device Memory
Offset from LMEM_BAR is same as offset from BGSM."
DSM starts 8MBs from BGSM, so we set dsm_base = 8MB.
Signed-off-by: Daniele Ceraolo Spurio <[email protected]>
Cc: Aravind Iddamsetty <[email protected]>
Cc: Matt Roper <[email protected]>
Cc: Lucas De Marchi <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: Nirmoy Das <[email protected]>
Cc: Fei Yang <[email protected]>
Cc: Radhakrishna Sripada <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Reviewed-by: Nirmoy Das <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions