aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2018-07-25 20:29:50 +0000
committerAlex Deucher <[email protected]>2018-07-27 20:00:22 +0000
commit610b399f1ff269e4b9ec85cfdffb06f9befd0c41 (patch)
tree82d0a336bef9ffb53db8142506cd0ee4253e12d0 /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
parentdrm/ttm: clean up non-x86 definitions on ttm_page_alloc (diff)
downloadkernel-610b399f1ff269e4b9ec85cfdffb06f9befd0c41.tar.gz
kernel-610b399f1ff269e4b9ec85cfdffb06f9befd0c41.zip
drm/ttm: Merge hugepage attr changes in ttm_dma_page_put. (v2)
Every set_pages_array_wb call resulted in cross-core interrupts and TLB flushes. Merge more of them for less overhead. This reduces the time needed to free a 1.6 GiB GTT WC buffer as part of Vulkan CTS from ~2 sec to < 0.25 sec. (Allocation still takes more than 2 sec though) (v2): use set_pages_wb instead of set_memory_wb. Signed-off-by: Bas Nieuwenhuizen <[email protected]> Signed-off-by: Huang Rui <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
0 files changed, 0 insertions, 0 deletions