@@ -16,19 +16,9 @@ class gfx11_cntx_prim {
1616 static const uint32_t COMPUTE_PERFCOUNT_ENABLE_ADDR = mmCOMPUTE_PERFCOUNT_ENABLE;
1717 static const uint32_t RLC_PERFMON_CLK_CNTL_ADDR = mmRLC_PERFMON_CNTL; // mmRLC_PERFMON_CLK_CNTL;
1818 static const uint32_t CP_PERFMON_CNTL_ADDR = mmCP_PERFMON_CNTL;
19- static const uint32_t SRBM_PERFMON_CNTL_ADDR = 0 ;
2019
2120 static const uint32_t COMPUTE_THREAD_TRACE_ENABLE_ADDR = mmCOMPUTE_THREAD_TRACE_ENABLE;
2221
23- static const uint32_t MC_CONFIG_MCD_ADDR = 0 ;
24- static const uint32_t MC_SEQ_SELECT_ADDR = 0 ;
25- static const uint32_t MC_SEQ_SELECT1_ADDR = 0 ;
26- static const uint32_t MC_SEQ_CONTROL_ADDR = 0 ;
27- static const uint32_t MC_SEQ_PERFCOUNTER_RSLT_CNTL_ADDR = 0 ;
28- static const uint32_t MC_SEQ_PERFCOUNTER_RSLT_CNTL_M1_ADDR = 0 ;
29- static const uint32_t MC_SEQ_PERFCOUNTER_RSLT_CNTL_M2_ADDR = 0 ;
30- static const uint32_t MC_SEQ_PERFCOUNTER_RSLT_CNTL_M3_ADDR = 0 ;
31-
3222 static const uint32_t MC_PERFCOUNTER_RSLT_CNTL__ENABLE_ANY_MASK_PRM = 0x01000000L ;
3323 static const uint32_t MC_PERFCOUNTER_RSLT_CNTL__CLEAR_ALL_MASK_PRM = 0x02000000L ;
3424
@@ -303,36 +293,9 @@ class gfx11_cntx_prim {
303293 // MC Block primitives
304294
305295 // MC Channel value
306- static uint32_t mc_channel_mask (const counter_des_t & counter_des) {
307- return 3 ;
308- }
309- static uint32_t mc_broadcast_mcd_value () { return 0 ; }
310296 static uint32_t mc_config_value (const counter_des_t & counter_des) {
311297 return counter_des.index ;
312298 }
313- // The following function is unused in gfx9.
314- static uint32_t mc_seq_config_val (const counter_des_t & counter_des) {
315- return 0 ;
316- }
317- static uint32_t mc_hbm_broadcast_mcd_value () { return 0 ; }
318-
319- // MC SQE registers values
320- static uint32_t mc_seq_reset_value () { return 0 ; }
321- static uint32_t mc_seq_start_value () { return 0 ; }
322- static uint32_t mc_seq_select_value (const counter_des_t &) { return 0 ; }
323- static uint32_t mc_seq_select1_value (const counter_des_t &) { return 0 ; }
324- static uint32_t mc_seq_hbm_reset_value () { return 0 ; }
325- static uint32_t mc_seq_hbm_start_value () { return 0 ; }
326- static uint32_t mc_seq_hbm_stop_value () { return 0 ; }
327- static uint32_t mc_config_mcd_select_value (const counter_des_t &) { return 0 ; }
328- static uint32_t mc_seq_perfcounter_cfg_addr (const counter_des_t &) { return 0 ; }
329- static uint32_t mc_seq_perfcounter_select_value (const counter_des_t &) { return 0 ; }
330- static uint32_t mc_config_mcd_hbm_sample_value (const counter_des_t &) { return 0 ; }
331- static uint32_t mc_seq_hbm_sample_value (const counter_des_t &) { return 0 ; }
332- static uint32_t mc_seq_perfcounter_rslt_cntl_addr (const counter_des_t &) { return 0 ; }
333- static uint32_t mc_seq_perfcounter_rslt_cntl_value (const counter_des_t &) { return 0 ; }
334- static uint32_t mc_hbm_register_lo_addr (const counter_des_t & counter_des) { return 0 ; }
335- static uint32_t mc_hbm_register_hi_addr (const counter_des_t & counter_des) { return 0 ; }
336299
337300 // MC registers values
338301 template <typename Select> static uint32_t mc_select_value (const counter_des_t & counter_des) {
@@ -403,11 +366,6 @@ class gfx11_cntx_prim {
403366 return incr_idx;
404367 }
405368
406- // SRBM Registers values
407- static uint32_t srbm_reset_value () { return 0 ; }
408- static uint32_t srbm_start_value () { return 0 ; }
409- static uint32_t srbm_stop_value () { return 0 ; }
410-
411369 // GUS primitives
412370 static uint32_t gus_disable_clear_value () {
413371 regGUS_PERFCOUNTER_RSLT_CNTL gus_perfcounter_rslt_cntl{};
@@ -530,7 +488,7 @@ class gfx11_cntx_prim {
530488 return cp_perfmon_cntl.u32All ;
531489 }
532490 static uint32_t rlc_spm_muxsel_data (const uint32_t & value, const counter_des_t & counter_des,
533- const uint32_t & block, const uint32_t & hi) {
491+ const uint32_t & block, const uint32_t & hi) {
534492#if 0
535493 RLC_SPM_SE_MUXSEL_DATA data{};
536494 data.u32All = value;
0 commit comments