summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
diff options
context:
space:
mode:
authorLeo Liu <leo.liu@amd.com>2016-12-14 15:05:00 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-03-29 23:53:43 -0400
commit135d4735d8c5d8fa6c705657f5dd9d8d4193dcd1 (patch)
treed8d4da125066d20f740bbd10aca27e63b85152ab /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
parentc773a632a965ec05b933f53b85f0bba86f978b25 (diff)
downloadop-kernel-dev-135d4735d8c5d8fa6c705657f5dd9d8d4193dcd1.zip
op-kernel-dev-135d4735d8c5d8fa6c705657f5dd9d8d4193dcd1.tar.gz
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.h1
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 dada0a0..f0c1a6b 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 {
int (*test_ib)(struct amdgpu_ring *ring, long timeout);
/* insert NOP packets */
void (*insert_nop)(struct amdgpu_ring *ring, uint32_t count);
+ void (*insert_end)(struct amdgpu_ring *ring);
/* pad the indirect buffer to the necessary number of dw */
void (*pad_ib)(struct amdgpu_ring *ring, struct amdgpu_ib *ib);
unsigned (*init_cond_exec)(struct amdgpu_ring *ring);
OpenPOWER on IntegriCloud