diff options
author | Chunming Zhou <david1.zhou@amd.com> | 2018-02-09 03:44:10 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-02-13 19:35:14 +0100 |
commit | 1bc3d3cce8c3b44c2b5ac6cee98c830bb40e6b0f (patch) | |
tree | 007968d3f7aeda3b5be83ced24ce407023728802 /drivers/dma-buf | |
parent | drm/amdgpu: only enable swiotlb alloc when need v2 (diff) | |
download | linux-1bc3d3cce8c3b44c2b5ac6cee98c830bb40e6b0f.tar.xz linux-1bc3d3cce8c3b44c2b5ac6cee98c830bb40e6b0f.zip |
drm/radeon: only enable swiotlb path when need v2
swiotlb expands our card accessing range, but its path always is slower
than ttm pool allocation.
So add condition to use it.
v2: move a bit later
Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Monk Liu <monk.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180209024410.1469-3-david1.zhou@amd.com
Diffstat (limited to 'drivers/dma-buf')
0 files changed, 0 insertions, 0 deletions