]> Git Repo - linux.git/commit
drm/amdgpu: only enable swiotlb alloc when need v2
authorChunming Zhou <[email protected]>
Fri, 9 Feb 2018 02:44:09 +0000 (10:44 +0800)
committerAlex Deucher <[email protected]>
Tue, 13 Feb 2018 18:33:32 +0000 (13:33 -0500)
commitfd5fd480dd8fe4910546e7b080b3ae345e57fe9f
tree3eff145418a91d1fd03a226763c122dee882bb15
parent82626363a217d79128c447ab296777b461e9f050
drm/amdgpu: only enable swiotlb alloc when need v2

get the max io mapping address of system memory to see if it is over
our card accessing range.
v2: move checking later

Signed-off-by: Chunming Zhou <[email protected]>
Reviewed-by: Monk Liu <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
This page took 0.062276 seconds and 4 git commands to generate.