[PATCH] amdgpu: Set adev->vcn.irq.num_types for VCN
Deucher, Alexander
Alexander.Deucher at amd.com
Tue Nov 21 17:36:54 UTC 2017
> -----Original Message-----
> From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf
> Of Michel Dänzer
> Sent: Tuesday, November 21, 2017 12:29 PM
> To: amd-gfx at lists.freedesktop.org
> Cc: Liu, Leo
> Subject: [PATCH] amdgpu: Set adev->vcn.irq.num_types for VCN
>
> From: Michel Dänzer <michel.daenzer at amd.com>
>
> We were setting adev->uvd.irq.num_types instead.
>
> Fixes: 9b257116e784 ("drm/amdgpu: add vcn enc irq support")
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
> b/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
> index 1eb4d79d6e30..0450ac5ba6b6 100644
> --- a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
> @@ -1175,7 +1175,7 @@ static const struct amdgpu_irq_src_funcs
> vcn_v1_0_irq_funcs = {
>
> static void vcn_v1_0_set_irq_funcs(struct amdgpu_device *adev)
> {
> - adev->uvd.irq.num_types = adev->vcn.num_enc_rings + 1;
> + adev->vcn.irq.num_types = adev->vcn.num_enc_rings + 1;
> adev->vcn.irq.funcs = &vcn_v1_0_irq_funcs;
> }
>
> --
> 2.15.0
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
More information about the amd-gfx
mailing list