OSDN Git Service

drm/amdgpu: Reorganize amdgpu_gmc_flush_gpu_tlb() for kfd to use
authorYong Zhao <Yong.Zhao@amd.com>
Fri, 12 Oct 2018 21:17:05 +0000 (17:17 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Nov 2018 19:21:15 +0000 (14:21 -0500)
commit2a79d86897afd54778d44019dcc9327e0188e69f
tree3c7e7f463e9090153e34793f8b05f58517950647
parenta614aae76057955c914de9bc3fc659c164cd5c2c
drm/amdgpu: Reorganize amdgpu_gmc_flush_gpu_tlb() for kfd to use

Add a flush_type parameter to that series of functions.

Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
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