Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc739f82 authored by Leo Liu's avatar Leo Liu Committed by Alex Deucher
Browse files

drm/amdgpu: get cs support of AMDGPU_HW_IP_VCN_DEC

parent bdc799e5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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)) {