diff options
author | Amber Lin <[email protected]> | 2018-02-27 10:01:59 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2018-02-28 15:38:46 -0500 |
commit | f8f4b9a679e52298b14358db22c37a135e7086ec (patch) | |
tree | d832f1bc6717908756b81280b48d1c00e2b3f8b1 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 5d447f09b8d8346c64f4c952a67c61f7ce88d3c1 (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