aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2024-04-14 13:06:39 -0400
committerAlex Deucher <[email protected]>2024-05-08 15:17:05 -0400
commit24e82654e98e96cece5d8b919c522054456eeec6 (patch)
treef3adfda9a3b0d69d22d95028ccbb42252f2188af /tools/perf/scripts/python/bin/stackcollapse-record
parent2b3b9d2150c02c340f2ad50bae1a20f6913587ce (diff)
drm/amdkfd: don't allow mapping the MMIO HDP page with large pages
We don't get the right offset in that case. The GPU has an unused 4K area of the register BAR space into which you can remap registers. We remap the HDP flush registers into this space to allow userspace (CPU or GPU) to flush the HDP when it updates VRAM. However, on systems with >4K pages, we end up exposing PAGE_SIZE of MMIO space. Fixes: d8e408a82704 ("drm/amdkfd: Expose HDP registers to user space") Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions