drm/amdgpu: rework gmc_v10_0_flush_gpu_tlb v2
authorChristian König <christian.koenig@amd.com>
Fri, 1 Sep 2023 12:32:36 +0000 (14:32 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2023 20:54:52 +0000 (16:54 -0400)
commita70cb2176f7ef6fec68c999d1f58635744125a8a
tree570249fa0a77bd674268a7c6fe0a20b453b346ef
parent8c14a67bdfab8e52e016a51fb2c34d26edb520ae
drm/amdgpu: rework gmc_v10_0_flush_gpu_tlb v2

Move the SDMA workaround necessary for Navi 1x into a higher layer.

v2: use dev_err

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c