amdgpu: Set adev->vcn.irq.num_types for VCN
Subsystems (2)
PATCH 1/1 amdgpu: Set adev->vcn.irq.num_types for VCN
From: Michel Dänzer <[email protected]>
We were setting adev->uvd.irq.num_types instead.
--- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c +1 -1
@@ -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; }
Signature · 6 lines
2.15.0 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20171121172847.7971-1-michel-otUistvHUpPR7s880joybQ@public.gmane.org
Deucher, Alexander
Reviewed-by Alex DeucherQuoted 8 lines
-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Michel Dänzer
Sent: Tuesday, November 21, 2017 12:29 PM
To: [email protected]
Cc: Liu, Leo
Subject: [PATCH] amdgpu: Setadev->vcn.irq.num_typesfor VCN
Quoted 6 lines
From: Michel Dänzer <[email protected]>
We were setting
adev->uvd.irq.num_typesinstead.Fixes 9b257116e784 ("drm/amdgpu: add vcn enc irq support")Signed-off-by Michel Dänzer <[email protected]>
Quoted 22 lines
--- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c +1
-2@@ -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
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Am 21.11.2017 um 18:28 schrieb Michel Dänzer:
Quoted 6 lines
From: Michel Dänzer <[email protected]>
We were setting
adev->uvd.irq.num_typesinstead.Fixes 9b257116e784 ("drm/amdgpu: add vcn enc irq support")Signed-off-by Michel Dänzer <[email protected]>
Subject line is wrong :) Apart from that Reviewed-by: Christian König <[email protected]>.
Quoted 9 lines
--- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c +0
-0
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c static const struct amdgpu_irq_src_funcs vcn_v1_0_irq_funcs = { · line 1181
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c +1
-1@@ -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; }
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx