drm/amdgpu: enable swiotlb for gmc 10.0 (V2)
authorAaron Liu <aaron.liu@amd.com>
Tue, 19 Apr 2022 06:17:05 +0000 (14:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 25 Jul 2022 21:14:19 +0000 (17:14 -0400)
commit3616d49da5dab635c4bb0eeb183b61df72cd0757
treeb8e3ef7fd6766e14d3bda17e8182aedd70aaea22
parent9dd4545f65679042273a93054ec3bb665ecf7366
drm/amdgpu: enable swiotlb for gmc 10.0 (V2)

Enable swiotlb for gmc 10.0.
v2: include drm_cache.h to use the function ‘drm_need_swiotlb’

Signed-off-by: Aaron Liu <aaron.liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c