mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 00:20:08 +07:00
drm/amdgpu: Set adev->vcn.irq.num_types for VCN
We were setting adev->uvd.irq.num_types instead.
Fixes: 9b257116e7
("drm/amdgpu: add vcn enc irq support")
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
This commit is contained in:
parent
b693fc1f83
commit
89ce6e0afe
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user