Searched refs:cp_int_cntl (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | gfx_v6_0.c | 3202 u32 cp_int_cntl; in gfx_v6_0_set_gfx_eop_interrupt_state() local 3206 cp_int_cntl = RREG32(mmCP_INT_CNTL_RING0); in gfx_v6_0_set_gfx_eop_interrupt_state() 3207 cp_int_cntl &= ~CP_INT_CNTL_RING0__TIME_STAMP_INT_ENABLE_MASK; in gfx_v6_0_set_gfx_eop_interrupt_state() 3208 WREG32(mmCP_INT_CNTL_RING0, cp_int_cntl); in gfx_v6_0_set_gfx_eop_interrupt_state() 3211 cp_int_cntl = RREG32(mmCP_INT_CNTL_RING0); in gfx_v6_0_set_gfx_eop_interrupt_state() 3212 cp_int_cntl |= CP_INT_CNTL_RING0__TIME_STAMP_INT_ENABLE_MASK; in gfx_v6_0_set_gfx_eop_interrupt_state() 3213 WREG32(mmCP_INT_CNTL_RING0, cp_int_cntl); in gfx_v6_0_set_gfx_eop_interrupt_state() 3224 u32 cp_int_cntl; in gfx_v6_0_set_compute_eop_interrupt_state() local 3228 cp_int_cntl = RREG32(mmCP_INT_CNTL_RING1); in gfx_v6_0_set_compute_eop_interrupt_state() 3229 cp_int_cntl &= ~CP_INT_CNTL_RING1__TIME_STAMP_INT_ENABLE_MASK; in gfx_v6_0_set_compute_eop_interrupt_state() [all …]
|
H A D | gfx_v7_0.c | 4663 u32 cp_int_cntl; in gfx_v7_0_set_gfx_eop_interrupt_state() local 4667 cp_int_cntl = RREG32(mmCP_INT_CNTL_RING0); in gfx_v7_0_set_gfx_eop_interrupt_state() 4668 cp_int_cntl &= ~CP_INT_CNTL_RING0__TIME_STAMP_INT_ENABLE_MASK; in gfx_v7_0_set_gfx_eop_interrupt_state() 4669 WREG32(mmCP_INT_CNTL_RING0, cp_int_cntl); in gfx_v7_0_set_gfx_eop_interrupt_state() 4672 cp_int_cntl = RREG32(mmCP_INT_CNTL_RING0); in gfx_v7_0_set_gfx_eop_interrupt_state() 4673 cp_int_cntl |= CP_INT_CNTL_RING0__TIME_STAMP_INT_ENABLE_MASK; in gfx_v7_0_set_gfx_eop_interrupt_state() 4674 WREG32(mmCP_INT_CNTL_RING0, cp_int_cntl); in gfx_v7_0_set_gfx_eop_interrupt_state() 4737 u32 cp_int_cntl; in gfx_v7_0_set_priv_reg_fault_state() local 4741 cp_int_cntl = RREG32(mmCP_INT_CNTL_RING0); in gfx_v7_0_set_priv_reg_fault_state() 4742 cp_int_cntl &= ~CP_INT_CNTL_RING0__PRIV_REG_INT_ENABLE_MASK; in gfx_v7_0_set_priv_reg_fault_state() [all …]
|
H A D | gfx_v11_0.c | 5714 uint32_t cp_int_cntl, cp_int_cntl_reg; in gfx_v11_0_set_gfx_eop_interrupt_state() local 5735 cp_int_cntl = RREG32_SOC15_IP(GC, cp_int_cntl_reg); in gfx_v11_0_set_gfx_eop_interrupt_state() 5736 cp_int_cntl = REG_SET_FIELD(cp_int_cntl, CP_INT_CNTL_RING0, in gfx_v11_0_set_gfx_eop_interrupt_state() 5738 cp_int_cntl = REG_SET_FIELD(cp_int_cntl, CP_INT_CNTL_RING0, in gfx_v11_0_set_gfx_eop_interrupt_state() 5740 WREG32_SOC15_IP(GC, cp_int_cntl_reg, cp_int_cntl); in gfx_v11_0_set_gfx_eop_interrupt_state() 5743 cp_int_cntl = RREG32_SOC15_IP(GC, cp_int_cntl_reg); in gfx_v11_0_set_gfx_eop_interrupt_state() 5744 cp_int_cntl = REG_SET_FIELD(cp_int_cntl, CP_INT_CNTL_RING0, in gfx_v11_0_set_gfx_eop_interrupt_state() 5746 cp_int_cntl = REG_SET_FIELD(cp_int_cntl, CP_INT_CNTL_RING0, in gfx_v11_0_set_gfx_eop_interrupt_state() 5748 WREG32_SOC15_IP(GC, cp_int_cntl_reg, cp_int_cntl); in gfx_v11_0_set_gfx_eop_interrupt_state()
|
H A D | gfx_v10_0.c | 8761 uint32_t cp_int_cntl, cp_int_cntl_reg; in gfx_v10_0_set_gfx_eop_interrupt_state() local 8782 cp_int_cntl = RREG32_SOC15_IP(GC, cp_int_cntl_reg); in gfx_v10_0_set_gfx_eop_interrupt_state() 8783 cp_int_cntl = REG_SET_FIELD(cp_int_cntl, CP_INT_CNTL_RING0, in gfx_v10_0_set_gfx_eop_interrupt_state() 8785 WREG32_SOC15_IP(GC, cp_int_cntl_reg, cp_int_cntl); in gfx_v10_0_set_gfx_eop_interrupt_state() 8788 cp_int_cntl = RREG32_SOC15_IP(GC, cp_int_cntl_reg); in gfx_v10_0_set_gfx_eop_interrupt_state() 8789 cp_int_cntl = REG_SET_FIELD(cp_int_cntl, CP_INT_CNTL_RING0, in gfx_v10_0_set_gfx_eop_interrupt_state() 8791 WREG32_SOC15_IP(GC, cp_int_cntl_reg, cp_int_cntl); in gfx_v10_0_set_gfx_eop_interrupt_state()
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | ni.h | 32 int ring, u32 cp_int_cntl);
|
H A D | evergreen.c | 4496 u32 cp_int_cntl = CNTX_BUSY_INT_ENABLE | CNTX_EMPTY_INT_ENABLE; in evergreen_irq_set() local 4527 cp_int_cntl |= TIME_STAMP_INT_ENABLE; in evergreen_irq_set() 4540 cp_int_cntl |= RB_INT_ENABLE; in evergreen_irq_set() 4541 cp_int_cntl |= TIME_STAMP_INT_ENABLE; in evergreen_irq_set() 4564 cayman_cp_int_cntl_setup(rdev, 0, cp_int_cntl); in evergreen_irq_set() 4568 WREG32(CP_INT_CNTL, cp_int_cntl); in evergreen_irq_set()
|
H A D | ni.c | 1380 int ring, u32 cp_int_cntl) in cayman_cp_int_cntl_setup() argument 1383 WREG32(CP_INT_CNTL, cp_int_cntl); in cayman_cp_int_cntl_setup()
|
H A D | r600.c | 3763 u32 cp_int_cntl = CNTX_BUSY_INT_ENABLE | CNTX_EMPTY_INT_ENABLE; in r600_irq_set() local 3821 cp_int_cntl |= RB_INT_ENABLE; in r600_irq_set() 3822 cp_int_cntl |= TIME_STAMP_INT_ENABLE; in r600_irq_set() 3873 WREG32(CP_INT_CNTL, cp_int_cntl); in r600_irq_set()
|
H A D | si.c | 6052 u32 cp_int_cntl; in si_irq_set() local 6070 cp_int_cntl = RREG32(CP_INT_CNTL_RING0) & in si_irq_set() 6082 cp_int_cntl |= TIME_STAMP_INT_ENABLE; in si_irq_set() 6102 WREG32(CP_INT_CNTL_RING0, cp_int_cntl); in si_irq_set()
|
H A D | cik.c | 7017 u32 cp_int_cntl; in cik_irq_set() local 7037 cp_int_cntl = RREG32(CP_INT_CNTL_RING0) & in cik_irq_set() 7039 cp_int_cntl |= PRIV_INSTR_INT_ENABLE | PRIV_REG_INT_ENABLE; in cik_irq_set() 7063 cp_int_cntl |= TIME_STAMP_INT_ENABLE; in cik_irq_set() 7217 WREG32(CP_INT_CNTL_RING0, cp_int_cntl); in cik_irq_set()
|