/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | uvd_v1_0.c | 266 uint32_t rb_bufsz; in uvd_v1_0_start() local 377 rb_bufsz = order_base_2(ring->ring_size); in uvd_v1_0_start() 378 rb_bufsz = (0x1 << 8) | rb_bufsz; in uvd_v1_0_start() 379 WREG32_P(UVD_RBC_RB_CNTL, rb_bufsz, ~0x11f1f); in uvd_v1_0_start()
|
D | r600_dma.c | 123 u32 rb_bufsz; in r600_dma_resume() local 130 rb_bufsz = order_base_2(ring->ring_size / 4); in r600_dma_resume() 131 rb_cntl = rb_bufsz << 1; in r600_dma_resume()
|
D | ni_dma.c | 190 u32 rb_bufsz; in cayman_dma_resume() local 209 rb_bufsz = order_base_2(ring->ring_size / 4); in cayman_dma_resume() 210 rb_cntl = rb_bufsz << 1; in cayman_dma_resume()
|
D | cik_sdma.c | 368 u32 rb_bufsz; in cik_sdma_gfx_resume() local 387 rb_bufsz = order_base_2(ring->ring_size / 4); in cik_sdma_gfx_resume() 388 rb_cntl = rb_bufsz << 1; in cik_sdma_gfx_resume()
|
D | r600.c | 2720 u32 rb_bufsz; in r600_cp_resume() local 2730 rb_bufsz = order_base_2(ring->ring_size / 8); in r600_cp_resume() 2731 tmp = (order_base_2(RADEON_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; in r600_cp_resume() 2782 u32 rb_bufsz; in r600_ring_init() local 2786 rb_bufsz = order_base_2(ring_size / 8); in r600_ring_init() 2787 ring_size = (1 << (rb_bufsz + 1)) * 4; in r600_ring_init() 3468 u32 rb_bufsz; in r600_ih_ring_init() local 3471 rb_bufsz = order_base_2(ring_size / 4); in r600_ih_ring_init() 3472 ring_size = (1 << rb_bufsz) * 4; in r600_ih_ring_init() 3674 int rb_bufsz; in r600_irq_init() local [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | si_ih.c | 65 int rb_bufsz; in si_ih_irq_init() local 77 rb_bufsz = order_base_2(adev->irq.ih.ring_size / 4); in si_ih_irq_init() 81 (rb_bufsz << 1) | in si_ih_irq_init()
|
D | cik_ih.c | 109 int rb_bufsz; in cik_ih_irq_init() local 127 rb_bufsz = order_base_2(adev->irq.ih.ring_size / 4); in cik_ih_irq_init() 131 (rb_bufsz << 1)); in cik_ih_irq_init()
|
D | amdgpu_ih.c | 44 u32 rb_bufsz; in amdgpu_ih_ring_init() local 48 rb_bufsz = order_base_2(ring_size / 4); in amdgpu_ih_ring_init() 49 ring_size = (1 << rb_bufsz) * 4; in amdgpu_ih_ring_init()
|
D | uvd_v3_1.c | 323 uint32_t rb_bufsz; in uvd_v3_1_start() local 433 rb_bufsz = order_base_2(ring->ring_size); in uvd_v3_1_start() 434 rb_bufsz = (0x1 << 8) | rb_bufsz; in uvd_v3_1_start() 435 WREG32_P(mmUVD_RBC_RB_CNTL, rb_bufsz, ~0x11f1f); in uvd_v3_1_start()
|
D | uvd_v4_2.c | 281 uint32_t rb_bufsz; in uvd_v4_2_start() local 391 rb_bufsz = order_base_2(ring->ring_size); in uvd_v4_2_start() 392 rb_bufsz = (0x1 << 8) | rb_bufsz; in uvd_v4_2_start() 393 WREG32_P(mmUVD_RBC_RB_CNTL, rb_bufsz, ~0x11f1f); in uvd_v4_2_start()
|
D | iceland_ih.c | 109 int rb_bufsz; in iceland_ih_irq_init() local 129 rb_bufsz = order_base_2(adev->irq.ih.ring_size / 4); in iceland_ih_irq_init() 132 ih_rb_cntl = REG_SET_FIELD(ih_rb_cntl, IH_RB_CNTL, RB_SIZE, rb_bufsz); in iceland_ih_irq_init()
|
D | cz_ih.c | 110 int rb_bufsz; in cz_ih_irq_init() local 129 rb_bufsz = order_base_2(adev->irq.ih.ring_size / 4); in cz_ih_irq_init() 132 ih_rb_cntl = REG_SET_FIELD(ih_rb_cntl, IH_RB_CNTL, RB_SIZE, rb_bufsz); in cz_ih_irq_init()
|
D | tonga_ih.c | 106 int rb_bufsz; in tonga_ih_irq_init() local 125 rb_bufsz = order_base_2(adev->irq.ih.ring_size / 4); in tonga_ih_irq_init() 127 ih_rb_cntl = REG_SET_FIELD(ih_rb_cntl, IH_RB_CNTL, RB_SIZE, rb_bufsz); in tonga_ih_irq_init()
|
D | uvd_v5_0.c | 318 uint32_t rb_bufsz, tmp; in uvd_v5_0_start() local 415 rb_bufsz = order_base_2(ring->ring_size); in uvd_v5_0_start() 417 tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_BUFSZ, rb_bufsz); in uvd_v5_0_start()
|
D | vcn_v2_5.c | 823 uint32_t rb_bufsz, tmp; in vcn_v2_5_start_dpg_mode() local 919 rb_bufsz = order_base_2(ring->ring_size); in vcn_v2_5_start_dpg_mode() 920 tmp = REG_SET_FIELD(0, UVD_RBC_RB_CNTL, RB_BUFSZ, rb_bufsz); in vcn_v2_5_start_dpg_mode() 966 uint32_t rb_bufsz, tmp; in vcn_v2_5_start() local 1111 rb_bufsz = order_base_2(ring->ring_size); in vcn_v2_5_start() 1112 tmp = REG_SET_FIELD(0, UVD_RBC_RB_CNTL, RB_BUFSZ, rb_bufsz); in vcn_v2_5_start() 1215 uint32_t offset, size, tmp, i, rb_bufsz; in vcn_v2_5_sriov_start() local 1330 rb_bufsz = order_base_2(ring->ring_size); in vcn_v2_5_sriov_start() 1331 tmp = REG_SET_FIELD(0, UVD_RBC_RB_CNTL, RB_BUFSZ, rb_bufsz); in vcn_v2_5_sriov_start()
|
D | si_dma.c | 131 u32 rb_cntl, dma_cntl, ib_cntl, rb_bufsz; in si_dma_start() local 142 rb_bufsz = order_base_2(ring->ring_size / 4); in si_dma_start() 143 rb_cntl = rb_bufsz << 1; in si_dma_start()
|
D | vcn_v2_0.c | 799 uint32_t rb_bufsz, tmp; in vcn_v2_0_start_dpg_mode() local 887 rb_bufsz = order_base_2(ring->ring_size); in vcn_v2_0_start_dpg_mode() 888 tmp = REG_SET_FIELD(0, UVD_RBC_RB_CNTL, RB_BUFSZ, rb_bufsz); in vcn_v2_0_start_dpg_mode() 934 uint32_t rb_bufsz, tmp; in vcn_v2_0_start() local 1059 rb_bufsz = order_base_2(ring->ring_size); in vcn_v2_0_start() 1060 tmp = REG_SET_FIELD(0, UVD_RBC_RB_CNTL, RB_BUFSZ, rb_bufsz); in vcn_v2_0_start()
|
D | vcn_v1_0.c | 792 uint32_t rb_bufsz, tmp; in vcn_v1_0_start_spg_mode() local 911 rb_bufsz = order_base_2(ring->ring_size); in vcn_v1_0_start_spg_mode() 912 tmp = REG_SET_FIELD(0, UVD_RBC_RB_CNTL, RB_BUFSZ, rb_bufsz); in vcn_v1_0_start_spg_mode() 966 uint32_t rb_bufsz, tmp; in vcn_v1_0_start_dpg_mode() local 1069 rb_bufsz = order_base_2(ring->ring_size); in vcn_v1_0_start_dpg_mode() 1070 tmp = REG_SET_FIELD(0, UVD_RBC_RB_CNTL, RB_BUFSZ, rb_bufsz); in vcn_v1_0_start_dpg_mode()
|
D | vega10_ih.c | 160 int rb_bufsz = order_base_2(ih->ring_size / 4); in vega10_ih_rb_cntl() local 168 ih_rb_cntl = REG_SET_FIELD(ih_rb_cntl, IH_RB_CNTL, RB_SIZE, rb_bufsz); in vega10_ih_rb_cntl()
|
D | ih_v6_0.c | 189 int rb_bufsz = order_base_2(ih->ring_size / 4); in ih_v6_0_rb_cntl() local 197 ih_rb_cntl = REG_SET_FIELD(ih_rb_cntl, IH_RB_CNTL, RB_SIZE, rb_bufsz); in ih_v6_0_rb_cntl()
|
D | ih_v6_1.c | 189 int rb_bufsz = order_base_2(ih->ring_size / 4); in ih_v6_1_rb_cntl() local 197 ih_rb_cntl = REG_SET_FIELD(ih_rb_cntl, IH_RB_CNTL, RB_SIZE, rb_bufsz); in ih_v6_1_rb_cntl()
|
D | vega20_ih.c | 169 int rb_bufsz = order_base_2(ih->ring_size / 4); in vega20_ih_rb_cntl() local 177 ih_rb_cntl = REG_SET_FIELD(ih_rb_cntl, IH_RB_CNTL, RB_SIZE, rb_bufsz); in vega20_ih_rb_cntl()
|
D | navi10_ih.c | 215 int rb_bufsz = order_base_2(ih->ring_size / 4); in navi10_ih_rb_cntl() local 223 ih_rb_cntl = REG_SET_FIELD(ih_rb_cntl, IH_RB_CNTL, RB_SIZE, rb_bufsz); in navi10_ih_rb_cntl()
|
D | sdma_v2_4.c | 406 u32 rb_bufsz; in sdma_v2_4_gfx_resume() local 428 rb_bufsz = order_base_2(ring->ring_size / 4); in sdma_v2_4_gfx_resume() 430 rb_cntl = REG_SET_FIELD(rb_cntl, SDMA0_GFX_RB_CNTL, RB_SIZE, rb_bufsz); in sdma_v2_4_gfx_resume()
|
D | cik_sdma.c | 430 u32 rb_bufsz; in cik_sdma_gfx_resume() local 454 rb_bufsz = order_base_2(ring->ring_size / 4); in cik_sdma_gfx_resume() 455 rb_cntl = rb_bufsz << 1; in cik_sdma_gfx_resume()
|