Home
last modified time | relevance | path

Searched refs:num_enc_rings (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/gpu/drm/amd/amdgpu/
H A Duvd_v6_0.c369 adev->uvd.num_enc_rings = 2; in uvd_v6_0_early_init()
391 for (i = 0; i < adev->uvd.num_enc_rings; ++i) { in uvd_v6_0_sw_init()
403 for (i = 0; i < adev->uvd.num_enc_rings; ++i) in uvd_v6_0_sw_init()
407 adev->uvd.num_enc_rings = 0; in uvd_v6_0_sw_init()
424 for (i = 0; i < adev->uvd.num_enc_rings; ++i) { in uvd_v6_0_sw_init()
448 for (i = 0; i < adev->uvd.num_enc_rings; ++i) in uvd_v6_0_sw_fini()
505 for (i = 0; i < adev->uvd.num_enc_rings; ++i) { in uvd_v6_0_hw_init()
1649 for (i = 0; i < adev->uvd.num_enc_rings; ++i) in uvd_v6_0_set_enc_ring_funcs()
1663 adev->uvd.inst->irq.num_types = adev->uvd.num_enc_rings + 1; in uvd_v6_0_set_irq_funcs()
H A Damdgpu_uvd.h58 unsigned num_enc_rings; member
H A Dvcn_v3_0.c131 adev->vcn.num_enc_rings = 1; in vcn_v3_0_early_init()
141 adev->vcn.num_enc_rings = 0; in vcn_v3_0_early_init()
143 adev->vcn.num_enc_rings = 2; in vcn_v3_0_early_init()
227 ring->doorbell_index = vcn_doorbell_index + i * (adev->vcn.num_enc_rings + 1); in vcn_v3_0_sw_init()
239 for (j = 0; j < adev->vcn.num_enc_rings; ++j) { in vcn_v3_0_sw_init()
251 ring->doorbell_index = vcn_doorbell_index + i * (adev->vcn.num_enc_rings + 1) + 1 + j; in vcn_v3_0_sw_init()
373 for (j = 0; j < adev->vcn.num_enc_rings; ++j) { in vcn_v3_0_hw_init()
401 for (j = 0; j < adev->vcn.num_enc_rings; ++j) { in vcn_v3_0_hw_init()
1437 for (j = 0; j < adev->vcn.num_enc_rings; ++j) { in vcn_v3_0_start_sriov()
2097 for (j = 0; j < adev->vcn.num_enc_rings; ++j) { in vcn_v3_0_set_enc_ring_funcs()
[all …]
H A Duvd_v7_0.c388 adev->uvd.num_enc_rings = 1; in uvd_v7_0_early_init()
390 adev->uvd.num_enc_rings = 2; in uvd_v7_0_early_init()
414 for (i = 0; i < adev->uvd.num_enc_rings; ++i) { in uvd_v7_0_sw_init()
456 for (i = 0; i < adev->uvd.num_enc_rings; ++i) { in uvd_v7_0_sw_init()
504 for (i = 0; i < adev->uvd.num_enc_rings; ++i) in uvd_v7_0_sw_fini()
574 for (i = 0; i < adev->uvd.num_enc_rings; ++i) { in uvd_v7_0_hw_init()
1889 for (i = 0; i < adev->uvd.num_enc_rings; ++i) { in uvd_v7_0_set_enc_ring_funcs()
1910 adev->uvd.inst[i].irq.num_types = adev->uvd.num_enc_rings + 1; in uvd_v7_0_set_irq_funcs()
H A Dvcn_v2_0.c113 adev->vcn.num_enc_rings = 1; in vcn_v2_0_early_init()
115 adev->vcn.num_enc_rings = 2; in vcn_v2_0_early_init()
148 for (i = 0; i < adev->vcn.num_enc_rings; ++i) { in vcn_v2_0_sw_init()
196 for (i = 0; i < adev->vcn.num_enc_rings; ++i) { in vcn_v2_0_sw_init()
295 for (i = 0; i < adev->vcn.num_enc_rings; ++i) { in vcn_v2_0_hw_init()
1867 for (i = 0; i < adev->vcn.num_enc_rings; ++i) { in vcn_v2_0_start_mmsch()
1993 for (r = 0; r < adev->vcn.num_enc_rings; ++r) { in vcn_v2_0_start_sriov()
2187 for (i = 0; i < adev->vcn.num_enc_rings; ++i) in vcn_v2_0_set_enc_ring_funcs()
2198 adev->vcn.inst->irq.num_types = adev->vcn.num_enc_rings + 1; in vcn_v2_0_set_irq_funcs()
H A Dvcn_v1_0.c107 adev->vcn.num_enc_rings = 2; in vcn_v1_0_early_init()
140 for (i = 0; i < adev->vcn.num_enc_rings; ++i) { in vcn_v1_0_sw_init()
179 for (i = 0; i < adev->vcn.num_enc_rings; ++i) { in vcn_v1_0_sw_init()
255 for (i = 0; i < adev->vcn.num_enc_rings; ++i) { in vcn_v1_0_hw_init()
1835 for (i = 0; i < adev->vcn.num_enc_rings; ++i) in vcn_v1_0_idle_work_handler()
1900 for (i = 0; i < adev->vcn.num_enc_rings; ++i) in vcn_v1_0_set_pg_for_begin_use()
2153 for (i = 0; i < adev->vcn.num_enc_rings; ++i) in vcn_v1_0_set_enc_ring_funcs()
2164 adev->vcn.inst->irq.num_types = adev->vcn.num_enc_rings + 2; in vcn_v1_0_set_irq_funcs()
H A Dvcn_v2_5.c125 adev->vcn.num_enc_rings = 1; in vcn_v2_5_early_init()
140 adev->vcn.num_enc_rings = 2; in vcn_v2_5_early_init()
176 for (i = 0; i < adev->vcn.num_enc_rings; ++i) { in vcn_v2_5_sw_init()
240 for (i = 0; i < adev->vcn.num_enc_rings; ++i) { in vcn_v2_5_sw_init()
369 for (i = 0; i < adev->vcn.num_enc_rings; ++i) { in vcn_v2_5_hw_init()
1768 for (i = 0; i < adev->vcn.num_enc_rings; ++i) { in vcn_v2_5_set_enc_ring_funcs()
1921 adev->vcn.inst[i].irq.num_types = adev->vcn.num_enc_rings + 1; in vcn_v2_5_set_irq_funcs()
1924 adev->vcn.inst[i].ras_poison_irq.num_types = adev->vcn.num_enc_rings + 1; in vcn_v2_5_set_irq_funcs()
H A Damdgpu_vcn.c270 for (i = 0; i < adev->vcn.num_enc_rings; ++i) in amdgpu_vcn_sw_fini()
389 for (i = 0; i < adev->vcn.num_enc_rings; ++i) in amdgpu_vcn_idle_work_handler()
452 for (i = 0; i < adev->vcn.num_enc_rings; ++i) in amdgpu_vcn_ring_begin_use()
H A Damdgpu_vcn.h310 unsigned num_enc_rings; member
H A Dvcn_v4_0_5.c117 adev->vcn.num_enc_rings = 1; in vcn_v4_0_5_early_init()
173 i * (adev->vcn.num_enc_rings + 1) + 1; in vcn_v4_0_5_sw_init()
1614 adev->vcn.inst[i].irq.num_types = adev->vcn.num_enc_rings + 1; in vcn_v4_0_5_set_irq_funcs()
H A Dvcn_v4_0.c130 adev->vcn.num_enc_rings = 1; in vcn_v4_0_early_init()
214 …orbell_index = (adev->doorbell_index.vcn.vcn_ring0_1 << 1) + i * (adev->vcn.num_enc_rings + 1) + 1; in vcn_v4_0_sw_init()
2153 adev->vcn.inst[i].irq.num_types = adev->vcn.num_enc_rings + 1; in vcn_v4_0_set_irq_funcs()
2156 adev->vcn.inst[i].ras_poison_irq.num_types = adev->vcn.num_enc_rings + 1; in vcn_v4_0_set_irq_funcs()
H A Dvcn_v5_0_0.c100 adev->vcn.num_enc_rings = 1; in vcn_v5_0_0_early_init()
1341 adev->vcn.inst[i].irq.num_types = adev->vcn.num_enc_rings + 1; in vcn_v5_0_0_set_irq_funcs()
H A Djpeg_v1_0.c615 for (cnt = 0; cnt < adev->vcn.num_enc_rings; cnt++) { in jpeg_v1_0_ring_begin_use()
H A Damdgpu_kms.c437 for (j = 0; j < adev->uvd.num_enc_rings; j++) in amdgpu_hw_ip_info()
462 for (j = 0; j < adev->vcn.num_enc_rings; j++) in amdgpu_hw_ip_info()
H A Damdgpu_uvd.c1269 for (j = 0; j < adev->uvd.num_enc_rings; ++j) in amdgpu_uvd_idle_work_handler()
H A Dvcn_v4_0_3.c110 adev->vcn.num_enc_rings = 1; in vcn_v4_0_3_early_init()