diff options
author | Chunming Zhou <david1.zhou@amd.com> | 2018-02-09 03:44:09 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-02-13 19:33:32 +0100 |
commit | fd5fd480dd8fe4910546e7b080b3ae345e57fe9f (patch) | |
tree | 3eff145418a91d1fd03a226763c122dee882bb15 /drivers/gpu/drm/radeon | |
parent | drm: add func to get max iomem address v2 (diff) | |
download | linux-fd5fd480dd8fe4910546e7b080b3ae345e57fe9f.tar.xz linux-fd5fd480dd8fe4910546e7b080b3ae345e57fe9f.zip |
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 <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-2-david1.zhou@amd.com
Diffstat (limited to 'drivers/gpu/drm/radeon')
0 files changed, 0 insertions, 0 deletions