diff options
author | Christian König <christian.koenig@amd.com> | 2016-01-18 09:16:53 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-02-10 14:16:52 -0500 |
commit | 5907a0d8af71d17811be49f2c056b3a89660e188 (patch) | |
tree | 87e6ad30a3584af3d06aa2e3d781a6f66abfe80d /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | 046c12c67b15018ab7ed2688a252475d5a8b9db1 (diff) |
drm/amdgpu: cleanup sync_seq handling
Not used any more without semaphores
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 3e040cb20ebe..cd93104b4fbb 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -388,7 +388,7 @@ struct amdgpu_fence_driver { | |||
388 | uint64_t gpu_addr; | 388 | uint64_t gpu_addr; |
389 | volatile uint32_t *cpu_addr; | 389 | volatile uint32_t *cpu_addr; |
390 | /* sync_seq is protected by ring emission lock */ | 390 | /* sync_seq is protected by ring emission lock */ |
391 | uint64_t sync_seq[AMDGPU_MAX_RINGS]; | 391 | uint64_t sync_seq; |
392 | atomic64_t last_seq; | 392 | atomic64_t last_seq; |
393 | bool initialized; | 393 | bool initialized; |
394 | struct amdgpu_irq_src *irq_src; | 394 | struct amdgpu_irq_src *irq_src; |
@@ -441,11 +441,6 @@ int amdgpu_fence_wait_next(struct amdgpu_ring *ring); | |||
441 | int amdgpu_fence_wait_empty(struct amdgpu_ring *ring); | 441 | int amdgpu_fence_wait_empty(struct amdgpu_ring *ring); |
442 | unsigned amdgpu_fence_count_emitted(struct amdgpu_ring *ring); | 442 | unsigned amdgpu_fence_count_emitted(struct amdgpu_ring *ring); |
443 | 443 | ||
444 | bool amdgpu_fence_need_sync(struct amdgpu_fence *fence, | ||
445 | struct amdgpu_ring *ring); | ||
446 | void amdgpu_fence_note_sync(struct amdgpu_fence *fence, | ||
447 | struct amdgpu_ring *ring); | ||
448 | |||
449 | /* | 444 | /* |
450 | * TTM. | 445 | * TTM. |
451 | */ | 446 | */ |