From: Leo Liu Date: Wed, 25 Jan 2017 20:05:53 +0000 (-0500) Subject: drm/amdgpu: get cs support of AMDGPU_HW_IP_VCN_DEC X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fc739f82c5050ec9dc9a13cdcbc4ebb0dd590c37;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm/amdgpu: get cs support of AMDGPU_HW_IP_VCN_DEC Signed-off-by: Leo Liu Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- 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)) {