diff options
| author | Leo Liu <[email protected]> | 2017-05-11 20:29:08 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-05-24 21:41:31 +0000 |
| commit | ef44f8541e8e99f1040c0d1b147956e2c2f25d79 (patch) | |
| tree | 3bcb56939d3ccd800af28d2d39050ddbec7fa080 /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |
| parent | drm/amdgpu: expose vcn RB command (diff) | |
| download | kernel-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_ib.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c index cb9472f52e8c..f774b3f497d2 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c @@ -169,6 +169,9 @@ int amdgpu_ib_schedule(struct amdgpu_ring *ring, unsigned num_ibs, dma_fence_put(tmp); } + if (ring->funcs->insert_start) + ring->funcs->insert_start(ring); + if (vm) { r = amdgpu_vm_flush(ring, job); if (r) { |
