[PATCH 4/4] drm/amdgpu/gmc9: use amdgpu_asic_flush_hdp for gart tlb invalidations
Alex Deucher
alexdeucher at gmail.com
Fri Jan 5 04:30:26 UTC 2018
Use the callback rather than open coding it.
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
index eb8b1bb66389..72e82e05bb3e 100644
--- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
@@ -330,7 +330,7 @@ static void gmc_v9_0_gart_flush_gpu_tlb(struct amdgpu_device *adev,
unsigned i, j;
/* flush hdp cache */
- adev->nbio_funcs->hdp_flush(adev);
+ amdgpu_asic_flush_hdp(adev);
spin_lock(&adev->mc.invalidate_lock);
--
2.13.6
More information about the amd-gfx
mailing list