aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2017-05-11 20:29:08 +0000
committerAlex Deucher <[email protected]>2017-05-24 21:41:31 +0000
commitef44f8541e8e99f1040c0d1b147956e2c2f25d79 (patch)
tree3bcb56939d3ccd800af28d2d39050ddbec7fa080 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
parentdrm/amdgpu: expose vcn RB command (diff)
downloadkernel-ef44f8541e8e99f1040c0d1b147956e2c2f25d79.tar.gz
kernel-ef44f8541e8e99f1040c0d1b147956e2c2f25d79.zip
drm/amdgpu: add a ring func for vcn start command
Needed for the proper command sequence for VCN. Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
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 731f0941927a..9bf3100f273e 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
@@ -132,6 +132,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_start)(struct amdgpu_ring *ring);
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);