Home
last modified time | relevance | path

Searched refs:use_doorbell (Results 1 – 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Dnbio_v7_0.c78 bool use_doorbell, int doorbell_index, int doorbell_size) in nbio_v7_0_sdma_doorbell_range() argument
85 if (use_doorbell) { in nbio_v7_0_sdma_doorbell_range()
94 static void nbio_v7_0_vcn_doorbell_range(struct amdgpu_device *adev, bool use_doorbell, in nbio_v7_0_vcn_doorbell_range() argument
101 if (use_doorbell) { in nbio_v7_0_vcn_doorbell_range()
127 bool use_doorbell, int doorbell_index) in nbio_v7_0_ih_doorbell_range() argument
131 if (use_doorbell) { in nbio_v7_0_ih_doorbell_range()
Dnbio_v2_3.c87 bool use_doorbell, int doorbell_index, in nbio_v2_3_sdma_doorbell_range() argument
97 if (use_doorbell) { in nbio_v2_3_sdma_doorbell_range()
112 static void nbio_v2_3_vcn_doorbell_range(struct amdgpu_device *adev, bool use_doorbell, in nbio_v2_3_vcn_doorbell_range() argument
120 if (use_doorbell) { in nbio_v2_3_vcn_doorbell_range()
165 bool use_doorbell, int doorbell_index) in nbio_v2_3_ih_doorbell_range() argument
169 if (use_doorbell) { in nbio_v2_3_ih_doorbell_range()
Damdgpu_nbio.h61 bool use_doorbell, int doorbell_index, int doorbell_size);
62 void (*vcn_doorbell_range)(struct amdgpu_device *adev, bool use_doorbell,
69 bool use_doorbell, int doorbell_index);
Dnbio_v6_1.c71 bool use_doorbell, int doorbell_index, int doorbell_size) in nbio_v6_1_sdma_doorbell_range() argument
78 if (use_doorbell) { in nbio_v6_1_sdma_doorbell_range()
115 bool use_doorbell, int doorbell_index) in nbio_v6_1_ih_doorbell_range() argument
119 if (use_doorbell) { in nbio_v6_1_ih_doorbell_range()
Dnbio_v7_4.c100 bool use_doorbell, int doorbell_index, int doorbell_size) in nbio_v7_4_sdma_doorbell_range() argument
121 if (use_doorbell) { in nbio_v7_4_sdma_doorbell_range()
130 static void nbio_v7_4_vcn_doorbell_range(struct amdgpu_device *adev, bool use_doorbell, in nbio_v7_4_vcn_doorbell_range() argument
143 if (use_doorbell) { in nbio_v7_4_vcn_doorbell_range()
182 bool use_doorbell, int doorbell_index) in nbio_v7_4_ih_doorbell_range() argument
186 if (use_doorbell) { in nbio_v7_4_ih_doorbell_range()
Djpeg_v3_0.c93 ring->use_doorbell = true; in jpeg_v3_0_sw_init()
140 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in jpeg_v3_0_hw_init()
421 if (ring->use_doorbell) in jpeg_v3_0_dec_ring_get_wptr()
438 if (ring->use_doorbell) { in jpeg_v3_0_dec_ring_set_wptr()
Dnavi10_ih.c238 if (ih->use_doorbell) { in navi10_ih_doorbell_rptr()
345 adev->nbio.funcs->ih_doorbell_range(adev, ih->use_doorbell, in navi10_ih_irq_init()
584 if (ih->use_doorbell) { in navi10_ih_set_rptr()
669 adev->irq.ih.use_doorbell = true; in navi10_ih_sw_init()
680 adev->irq.ih1.use_doorbell = true; in navi10_ih_sw_init()
688 adev->irq.ih2.use_doorbell = true; in navi10_ih_sw_init()
Djpeg_v2_5.c114 ring->use_doorbell = true; in jpeg_v2_5_sw_init()
167 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in jpeg_v2_5_hw_init()
401 if (ring->use_doorbell) in jpeg_v2_5_dec_ring_get_wptr()
418 if (ring->use_doorbell) { in jpeg_v2_5_dec_ring_set_wptr()
Dtonga_ih.c146 if (adev->irq.ih.use_doorbell) { in tonga_ih_irq_init()
267 if (ih->use_doorbell) { in tonga_ih_set_rptr()
299 adev->irq.ih.use_doorbell = true; in tonga_ih_sw_init()
Dvega10_ih.c193 if (ih->use_doorbell) { in vega10_ih_doorbell_rptr()
514 if (ih->use_doorbell) { in vega10_ih_set_rptr()
592 adev->irq.ih.use_doorbell = true; in vega10_ih_sw_init()
599 adev->irq.ih1.use_doorbell = true; in vega10_ih_sw_init()
606 adev->irq.ih2.use_doorbell = true; in vega10_ih_sw_init()
Damdgpu_ih.h40 bool use_doorbell; member
Djpeg_v2_0.c107 ring->use_doorbell = true; in jpeg_v2_0_sw_init()
154 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in jpeg_v2_0_hw_init()
429 if (ring->use_doorbell) in jpeg_v2_0_dec_ring_get_wptr()
446 if (ring->use_doorbell) { in jpeg_v2_0_dec_ring_set_wptr()
Dmes_v10_1.c48 if (ring->use_doorbell) { in mes_v10_1_ring_set_wptr()
66 if (ring->use_doorbell) in mes_v10_1_ring_get_wptr()
623 if (ring->use_doorbell) { in mes_v10_1_mqd_init()
688 if (ring->use_doorbell) { in mes_v10_1_mqd_init()
845 ring->use_doorbell = true; in mes_v10_1_ring_init()
Dvcn_v2_0.c135 ring->use_doorbell = true; in vcn_v2_0_sw_init()
164 ring->use_doorbell = true; in vcn_v2_0_sw_init()
229 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in vcn_v2_0_hw_init()
1341 if (ring->use_doorbell) in vcn_v2_0_dec_ring_get_wptr()
1362 if (ring->use_doorbell) { in vcn_v2_0_dec_ring_set_wptr()
1565 if (ring->use_doorbell) in vcn_v2_0_enc_ring_get_wptr()
1570 if (ring->use_doorbell) in vcn_v2_0_enc_ring_get_wptr()
1589 if (ring->use_doorbell) { in vcn_v2_0_enc_ring_set_wptr()
1596 if (ring->use_doorbell) { in vcn_v2_0_enc_ring_set_wptr()
Dvcn_v2_5.c187 ring->use_doorbell = true; in vcn_v2_5_sw_init()
199 ring->use_doorbell = true; in vcn_v2_5_sw_init()
293 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in vcn_v2_5_hw_init()
1500 if (ring->use_doorbell) in vcn_v2_5_dec_ring_get_wptr()
1517 if (ring->use_doorbell) { in vcn_v2_5_dec_ring_set_wptr()
1584 if (ring->use_doorbell) in vcn_v2_5_enc_ring_get_wptr()
1589 if (ring->use_doorbell) in vcn_v2_5_enc_ring_get_wptr()
1608 if (ring->use_doorbell) { in vcn_v2_5_enc_ring_set_wptr()
1615 if (ring->use_doorbell) { in vcn_v2_5_enc_ring_set_wptr()
Dvcn_v3_0.c193 ring->use_doorbell = true; in vcn_v3_0_sw_init()
217 ring->use_doorbell = true; in vcn_v3_0_sw_init()
314 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in vcn_v3_0_hw_init()
1626 if (ring->use_doorbell) in vcn_v3_0_dec_ring_get_wptr()
1643 if (ring->use_doorbell) { in vcn_v3_0_dec_ring_set_wptr()
1710 if (ring->use_doorbell) in vcn_v3_0_enc_ring_get_wptr()
1715 if (ring->use_doorbell) in vcn_v3_0_enc_ring_get_wptr()
1734 if (ring->use_doorbell) { in vcn_v3_0_enc_ring_set_wptr()
1741 if (ring->use_doorbell) { in vcn_v3_0_enc_ring_set_wptr()
Dsdma_v5_2.c276 if (ring->use_doorbell) { in sdma_v5_2_ring_get_wptr()
302 if (ring->use_doorbell) { in sdma_v5_2_ring_set_wptr()
654 if (ring->use_doorbell) { in sdma_v5_2_gfx_resume()
664 adev->nbio.funcs->sdma_doorbell_range(adev, i, ring->use_doorbell, in sdma_v5_2_gfx_resume()
1239 ring->use_doorbell = true; in sdma_v5_2_sw_init()
1243 ring->use_doorbell?"true":"false"); in sdma_v5_2_sw_init()
Dsdma_v4_0.c715 if (ring->use_doorbell) { in sdma_v4_0_ring_get_wptr()
742 if (ring->use_doorbell) { in sdma_v4_0_ring_set_wptr()
784 if (ring->use_doorbell) { in sdma_v4_0_page_ring_get_wptr()
807 if (ring->use_doorbell) { in sdma_v4_0_page_ring_set_wptr()
1181 ring->use_doorbell); in sdma_v4_0_gfx_resume()
1271 ring->use_doorbell); in sdma_v4_0_page_resume()
1900 ring->use_doorbell = true; in sdma_v4_0_sw_init()
1903 ring->use_doorbell?"true":"false"); in sdma_v4_0_sw_init()
1918 ring->use_doorbell = true; in sdma_v4_0_sw_init()
Dsdma_v5_0.c327 if (ring->use_doorbell) { in sdma_v5_0_ring_get_wptr()
353 if (ring->use_doorbell) { in sdma_v5_0_ring_set_wptr()
724 if (ring->use_doorbell) { in sdma_v5_0_gfx_resume()
734 adev->nbio.funcs->sdma_doorbell_range(adev, i, ring->use_doorbell, in sdma_v5_0_gfx_resume()
1265 ring->use_doorbell = true; in sdma_v5_0_sw_init()
1268 ring->use_doorbell?"true":"false"); in sdma_v5_0_sw_init()
Dsdma_v3_0.c368 if (ring->use_doorbell || ring->use_pollmem) { in sdma_v3_0_ring_get_wptr()
389 if (ring->use_doorbell) { in sdma_v3_0_ring_set_wptr()
704 if (ring->use_doorbell) { in sdma_v3_0_gfx_resume()
1149 ring->use_doorbell = true; in sdma_v3_0_sw_init()
Dvce_v4_0.c84 if (ring->use_doorbell) in vce_v4_0_ring_get_wptr()
106 if (ring->use_doorbell) { in vce_v4_0_ring_set_wptr()
469 ring->use_doorbell = true; in vce_v4_0_sw_init()
Damdgpu_ring.h228 bool use_doorbell; member
Duvd_v7_0.c120 if (ring->use_doorbell) in uvd_v7_0_enc_ring_get_wptr()
154 if (ring->use_doorbell) { in uvd_v7_0_enc_ring_set_wptr()
466 ring->use_doorbell = true; in uvd_v7_0_sw_init()
Dgfx_v9_0.c2237 ring->use_doorbell = true; in gfx_v9_0_compute_ring_init()
2337 ring->use_doorbell = true; in gfx_v9_0_sw_init()
3303 if (ring->use_doorbell) { in gfx_v9_0_cp_gfx_resume()
3452 if (ring->use_doorbell) { in gfx_v9_0_mqd_init()
3517 if (ring->use_doorbell) { in gfx_v9_0_mqd_init()
3634 if (ring->use_doorbell) { in gfx_v9_0_kiq_init_register()
3669 if (ring->use_doorbell) in gfx_v9_0_kiq_init_register()
5214 if (ring->use_doorbell) { in gfx_v9_0_ring_get_wptr_gfx()
5228 if (ring->use_doorbell) { in gfx_v9_0_ring_set_wptr_gfx()
5403 if (ring->use_doorbell) in gfx_v9_0_ring_get_wptr_compute()
[all …]
Dsoc15.c1342 ring->use_doorbell, ring->doorbell_index, in soc15_doorbell_range_init()
1346 adev->nbio.funcs->ih_doorbell_range(adev, adev->irq.ih.use_doorbell, in soc15_doorbell_range_init()

12