diff options
author | Leo Liu <leo.liu@amd.com> | 2016-12-14 15:05:00 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-03-29 23:53:43 -0400 |
commit | 135d4735d8c5d8fa6c705657f5dd9d8d4193dcd1 (patch) | |
tree | d8d4da125066d20f740bbd10aca27e63b85152ab /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | |
parent | c773a632a965ec05b933f53b85f0bba86f978b25 (diff) |
drm/amdgpu: add a ring func for end command
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-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_ring.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h index dada0a022bed..f0c1a6bbd444 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | |||
@@ -127,6 +127,7 @@ struct amdgpu_ring_funcs { | |||
127 | int (*test_ib)(struct amdgpu_ring *ring, long timeout); | 127 | int (*test_ib)(struct amdgpu_ring *ring, long timeout); |
128 | /* insert NOP packets */ | 128 | /* insert NOP packets */ |
129 | void (*insert_nop)(struct amdgpu_ring *ring, uint32_t count); | 129 | void (*insert_nop)(struct amdgpu_ring *ring, uint32_t count); |
130 | void (*insert_end)(struct amdgpu_ring *ring); | ||
130 | /* pad the indirect buffer to the necessary number of dw */ | 131 | /* pad the indirect buffer to the necessary number of dw */ |
131 | void (*pad_ib)(struct amdgpu_ring *ring, struct amdgpu_ib *ib); | 132 | void (*pad_ib)(struct amdgpu_ring *ring, struct amdgpu_ib *ib); |
132 | unsigned (*init_cond_exec)(struct amdgpu_ring *ring); | 133 | unsigned (*init_cond_exec)(struct amdgpu_ring *ring); |