diff options
author | Leo Liu <leo.liu@amd.com> | 2017-01-25 15:05:53 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-05-24 17:41:36 -0400 |
commit | fc739f82c5050ec9dc9a13cdcbc4ebb0dd590c37 (patch) | |
tree | 2e90b4341b409849798058caed54975f4f125754 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
parent | bdc799e5eee551f53c7beb01f89cccedc83f7824 (diff) | |
download | talos-obmc-linux-fc739f82c5050ec9dc9a13cdcbc4ebb0dd590c37.tar.gz talos-obmc-linux-fc739f82c5050ec9dc9a13cdcbc4ebb0dd590c37.zip |
drm/amdgpu: get cs support of AMDGPU_HW_IP_VCN_DEC
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_cs.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c index 4e6b9501ab0a..60948a7bd247 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c @@ -91,6 +91,9 @@ int amdgpu_cs_get_ring(struct amdgpu_device *adev, u32 ip_type, return -EINVAL; } break; + case AMDGPU_HW_IP_VCN_DEC: + *out_ring = &adev->vcn.ring_dec; + break; } if (!(*out_ring && (*out_ring)->adev)) { |