summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2018-01-05 10:25:57 -0500
committerAlex Deucher <alexander.deucher@amd.com>2018-02-19 14:17:14 -0500
commitb1d128689f9c602a3dbea37b47a27a568d55754d (patch)
tree6e7f5703c0ed9a28b140017fc3fc3bd0504a9cc4 /drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
parent73c732405fddfe16b122c77de83397289463b557 (diff)
downloadop-kernel-dev-b1d128689f9c602a3dbea37b47a27a568d55754d.zip
op-kernel-dev-b1d128689f9c602a3dbea37b47a27a568d55754d.tar.gz
drm/amdgpu: adjust HDP write queue flushing for tlb invalidation
Separate tlb invalidation and hdp flushing and move the HDP flush to the caller. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
index 100ec69..2a565a4 100644
--- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
@@ -330,9 +330,6 @@ static void gmc_v9_0_gart_flush_gpu_tlb(struct amdgpu_device *adev,
const unsigned eng = 17;
unsigned i, j;
- /* flush hdp cache */
- adev->nbio_funcs->hdp_flush(adev);
-
spin_lock(&adev->mc.invalidate_lock);
for (i = 0; i < AMDGPU_MAX_VMHUBS; ++i) {
OpenPOWER on IntegriCloud