diff options
author | Christian König <christian.koenig@amd.com> | 2018-01-19 09:19:16 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-02-19 14:18:22 -0500 |
commit | 2ee150cda7bdc766cf9baca3534f3a2c0b0e8357 (patch) | |
tree | d9b67b8e56fba3aae616aa72381438dc65420f52 /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |
parent | 1b9d17db1cb103f56a69d8610d7339fb0a2a90cc (diff) |
drm/amdgpu: remove now superflous *_hdp operation
All HDP invalidation and most flush can now be replaced by the generic
ASIC function.
Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c index e87c9952c901..8ea342dc6376 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |||
@@ -225,12 +225,7 @@ int amdgpu_ib_schedule(struct amdgpu_ring *ring, unsigned num_ibs, | |||
225 | #ifdef CONFIG_X86_64 | 225 | #ifdef CONFIG_X86_64 |
226 | if (!(adev->flags & AMD_IS_APU)) | 226 | if (!(adev->flags & AMD_IS_APU)) |
227 | #endif | 227 | #endif |
228 | { | 228 | amdgpu_asic_invalidate_hdp(adev, ring); |
229 | if (ring->funcs->emit_hdp_invalidate) | ||
230 | amdgpu_ring_emit_hdp_invalidate(ring); | ||
231 | else | ||
232 | amdgpu_asic_invalidate_hdp(adev, ring); | ||
233 | } | ||
234 | 229 | ||
235 | r = amdgpu_fence_emit(ring, f); | 230 | r = amdgpu_fence_emit(ring, f); |
236 | if (r) { | 231 | if (r) { |