aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2017-02-21 15:38:42 +0000
committerAlex Deucher <[email protected]>2017-05-24 21:41:43 +0000
commitc3bd304009dee48adbb2b6937b7f4a07c5e4e281 (patch)
tree2648a764b1182140eb16b917f8d69fa1b0312f32 /drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
parentdrm/amdgpu: add vcn enc irq support (diff)
downloadkernel-c3bd304009dee48adbb2b6937b7f4a07c5e4e281.tar.gz
kernel-c3bd304009dee48adbb2b6937b7f4a07c5e4e281.zip
drm/amdgpu: enable vcn encode ring tests
Wire up the callback and enable them. Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
index 91050ca153e9..18fd56558751 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
@@ -497,7 +497,7 @@ int amdgpu_vcn_enc_ring_test_ring(struct amdgpu_ring *ring)
ring->idx, r);
return r;
}
- amdgpu_ring_write(ring, VCE_CMD_END);
+ amdgpu_ring_write(ring, VCN_ENC_CMD_END);
amdgpu_ring_commit(ring);
for (i = 0; i < adev->usec_timeout; i++) {