aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorAmber Lin <[email protected]>2018-02-27 10:01:59 -0500
committerAlex Deucher <[email protected]>2018-02-28 15:38:46 -0500
commitf8f4b9a679e52298b14358db22c37a135e7086ec (patch)
treed832f1bc6717908756b81280b48d1c00e2b3f8b1 /tools/perf/scripts/python/net_dropmonitor.py
parent5d447f09b8d8346c64f4c952a67c61f7ce88d3c1 (diff)
drm/amdgpu: Map all visible VRAM at startup
When using CPU to update page table, we need to kmap all the PDs/PTs after they are allocated and that requires a TLB shot down on each CPU, which is quite heavy. Instead, we map the whole visible VRAM to a kernel address at once. Pages can be obtained from the offset. v2: move the mapping base from gmc to amdgpu_mman structure, and the implementation in amdgpu_ttm_* functions Signed-off-by: Amber Lin <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions