Lines Matching refs:GC

418 	data = RREG32_SOC15(GC, 0, regCP_MES_DOORBELL_CONTROL1);  in mes_v11_0_init_aggregated_doorbell()
425 WREG32_SOC15(GC, 0, regCP_MES_DOORBELL_CONTROL1, data); in mes_v11_0_init_aggregated_doorbell()
427 data = RREG32_SOC15(GC, 0, regCP_MES_DOORBELL_CONTROL2); in mes_v11_0_init_aggregated_doorbell()
434 WREG32_SOC15(GC, 0, regCP_MES_DOORBELL_CONTROL2, data); in mes_v11_0_init_aggregated_doorbell()
436 data = RREG32_SOC15(GC, 0, regCP_MES_DOORBELL_CONTROL3); in mes_v11_0_init_aggregated_doorbell()
443 WREG32_SOC15(GC, 0, regCP_MES_DOORBELL_CONTROL3, data); in mes_v11_0_init_aggregated_doorbell()
445 data = RREG32_SOC15(GC, 0, regCP_MES_DOORBELL_CONTROL4); in mes_v11_0_init_aggregated_doorbell()
452 WREG32_SOC15(GC, 0, regCP_MES_DOORBELL_CONTROL4, data); in mes_v11_0_init_aggregated_doorbell()
454 data = RREG32_SOC15(GC, 0, regCP_MES_DOORBELL_CONTROL5); in mes_v11_0_init_aggregated_doorbell()
461 WREG32_SOC15(GC, 0, regCP_MES_DOORBELL_CONTROL5, data); in mes_v11_0_init_aggregated_doorbell()
464 WREG32_SOC15(GC, 0, regCP_HQD_GFX_CONTROL, data); in mes_v11_0_init_aggregated_doorbell()
564 data = RREG32_SOC15(GC, 0, regCP_MES_CNTL); in mes_v11_0_enable()
568 WREG32_SOC15(GC, 0, regCP_MES_CNTL, data); in mes_v11_0_enable()
579 WREG32_SOC15(GC, 0, regCP_MES_PRGRM_CNTR_START, in mes_v11_0_enable()
581 WREG32_SOC15(GC, 0, regCP_MES_PRGRM_CNTR_START_HI, in mes_v11_0_enable()
591 WREG32_SOC15(GC, 0, regCP_MES_CNTL, data); in mes_v11_0_enable()
598 data = RREG32_SOC15(GC, 0, regCP_MES_CNTL); in mes_v11_0_enable()
607 WREG32_SOC15(GC, 0, regCP_MES_CNTL, data); in mes_v11_0_enable()
638 WREG32_SOC15(GC, 0, regCP_MES_IC_BASE_CNTL, 0); in mes_v11_0_load_microcode()
642 WREG32_SOC15(GC, 0, regCP_MES_PRGRM_CNTR_START, in mes_v11_0_load_microcode()
644 WREG32_SOC15(GC, 0, regCP_MES_PRGRM_CNTR_START_HI, in mes_v11_0_load_microcode()
648 WREG32_SOC15(GC, 0, regCP_MES_IC_BASE_LO, in mes_v11_0_load_microcode()
650 WREG32_SOC15(GC, 0, regCP_MES_IC_BASE_HI, in mes_v11_0_load_microcode()
654 WREG32_SOC15(GC, 0, regCP_MES_MIBOUND_LO, 0x1FFFFF); in mes_v11_0_load_microcode()
657 WREG32_SOC15(GC, 0, regCP_MES_MDBASE_LO, in mes_v11_0_load_microcode()
659 WREG32_SOC15(GC, 0, regCP_MES_MDBASE_HI, in mes_v11_0_load_microcode()
663 WREG32_SOC15(GC, 0, regCP_MES_MDBOUND_LO, 0x3FFFF); in mes_v11_0_load_microcode()
667 data = RREG32_SOC15(GC, 0, regCP_MES_IC_OP_CNTL); in mes_v11_0_load_microcode()
670 WREG32_SOC15(GC, 0, regCP_MES_IC_OP_CNTL, data); in mes_v11_0_load_microcode()
673 data = RREG32_SOC15(GC, 0, regCP_MES_IC_OP_CNTL); in mes_v11_0_load_microcode()
675 WREG32_SOC15(GC, 0, regCP_MES_IC_OP_CNTL, data); in mes_v11_0_load_microcode()
823 data = RREG32_SOC15(GC, 0, regCP_HQD_VMID); in mes_v11_0_queue_init_register()
825 WREG32_SOC15(GC, 0, regCP_HQD_VMID, data); in mes_v11_0_queue_init_register()
828 data = RREG32_SOC15(GC, 0, regCP_HQD_PQ_DOORBELL_CONTROL); in mes_v11_0_queue_init_register()
831 WREG32_SOC15(GC, 0, regCP_HQD_PQ_DOORBELL_CONTROL, data); in mes_v11_0_queue_init_register()
834 WREG32_SOC15(GC, 0, regCP_MQD_BASE_ADDR, mqd->cp_mqd_base_addr_lo); in mes_v11_0_queue_init_register()
835 WREG32_SOC15(GC, 0, regCP_MQD_BASE_ADDR_HI, mqd->cp_mqd_base_addr_hi); in mes_v11_0_queue_init_register()
838 data = RREG32_SOC15(GC, 0, regCP_MQD_CONTROL); in mes_v11_0_queue_init_register()
840 WREG32_SOC15(GC, 0, regCP_MQD_CONTROL, 0); in mes_v11_0_queue_init_register()
843 WREG32_SOC15(GC, 0, regCP_HQD_PQ_BASE, mqd->cp_hqd_pq_base_lo); in mes_v11_0_queue_init_register()
844 WREG32_SOC15(GC, 0, regCP_HQD_PQ_BASE_HI, mqd->cp_hqd_pq_base_hi); in mes_v11_0_queue_init_register()
847 WREG32_SOC15(GC, 0, regCP_HQD_PQ_RPTR_REPORT_ADDR, in mes_v11_0_queue_init_register()
849 WREG32_SOC15(GC, 0, regCP_HQD_PQ_RPTR_REPORT_ADDR_HI, in mes_v11_0_queue_init_register()
853 WREG32_SOC15(GC, 0, regCP_HQD_PQ_CONTROL, mqd->cp_hqd_pq_control); in mes_v11_0_queue_init_register()
856 WREG32_SOC15(GC, 0, regCP_HQD_PQ_WPTR_POLL_ADDR, in mes_v11_0_queue_init_register()
858 WREG32_SOC15(GC, 0, regCP_HQD_PQ_WPTR_POLL_ADDR_HI, in mes_v11_0_queue_init_register()
862 WREG32_SOC15(GC, 0, regCP_HQD_PQ_DOORBELL_CONTROL, in mes_v11_0_queue_init_register()
866 WREG32_SOC15(GC, 0, regCP_HQD_PERSISTENT_STATE, mqd->cp_hqd_persistent_state); in mes_v11_0_queue_init_register()
869 WREG32_SOC15(GC, 0, regCP_HQD_ACTIVE, mqd->cp_hqd_active); in mes_v11_0_queue_init_register()
932 adev->mes.sched_version = RREG32_SOC15(GC, 0, regCP_MES_GP3_LO); in mes_v11_0_queue_init()
934 adev->mes.kiq_version = RREG32_SOC15(GC, 0, regCP_MES_GP3_LO); in mes_v11_0_queue_init()
1115 if (RREG32_SOC15(GC, 0, regCP_HQD_ACTIVE) & 1) { in mes_v11_0_kiq_dequeue()
1116 WREG32_SOC15(GC, 0, regCP_HQD_DEQUEUE_REQUEST, 1); in mes_v11_0_kiq_dequeue()
1118 if (!(RREG32_SOC15(GC, 0, regCP_HQD_ACTIVE) & 1)) in mes_v11_0_kiq_dequeue()
1123 data = RREG32_SOC15(GC, 0, regCP_HQD_PQ_DOORBELL_CONTROL); in mes_v11_0_kiq_dequeue()
1128 WREG32_SOC15(GC, 0, regCP_HQD_PQ_DOORBELL_CONTROL, data); in mes_v11_0_kiq_dequeue()
1130 WREG32_SOC15(GC, 0, regCP_HQD_PQ_DOORBELL_CONTROL, 0); in mes_v11_0_kiq_dequeue()
1132 WREG32_SOC15(GC, 0, regCP_HQD_PQ_WPTR_LO, 0); in mes_v11_0_kiq_dequeue()
1133 WREG32_SOC15(GC, 0, regCP_HQD_PQ_WPTR_HI, 0); in mes_v11_0_kiq_dequeue()
1134 WREG32_SOC15(GC, 0, regCP_HQD_PQ_RPTR, 0); in mes_v11_0_kiq_dequeue()
1146 tmp = RREG32_SOC15(GC, 0, regRLC_CP_SCHEDULERS); in mes_v11_0_kiq_setting()
1149 WREG32_SOC15(GC, 0, regRLC_CP_SCHEDULERS, tmp); in mes_v11_0_kiq_setting()
1151 WREG32_SOC15(GC, 0, regRLC_CP_SCHEDULERS, tmp); in mes_v11_0_kiq_setting()
1159 tmp = RREG32_SOC15(GC, 0, regRLC_CP_SCHEDULERS); in mes_v11_0_kiq_clear()
1161 WREG32_SOC15(GC, 0, regRLC_CP_SCHEDULERS, tmp); in mes_v11_0_kiq_clear()