Loading drivers/gpu/msm/adreno.h +0 −1 Original line number Diff line number Diff line Loading @@ -445,7 +445,6 @@ enum adreno_regs { ADRENO_REG_UCHE_INVALIDATE0, ADRENO_REG_RBBM_PERFCTR_LOAD_VALUE_LO, ADRENO_REG_RBBM_PERFCTR_LOAD_VALUE_HI, ADRENO_REG_RBBM_ALWAYSON_COUNTER_LO, ADRENO_REG_REGISTER_MAX, }; Loading drivers/gpu/msm/adreno_a4xx.c +0 −2 Original line number Diff line number Diff line Loading @@ -847,8 +847,6 @@ static unsigned int a4xx_register_offsets[ADRENO_REG_REGISTER_MAX] = { A4XX_RBBM_PERFCTR_LOAD_VALUE_LO), ADRENO_REG_DEFINE(ADRENO_REG_RBBM_PERFCTR_LOAD_VALUE_HI, A4XX_RBBM_PERFCTR_LOAD_VALUE_HI), ADRENO_REG_DEFINE(ADRENO_REG_RBBM_ALWAYSON_COUNTER_LO, A4XX_RBBM_ALWAYSON_COUNTER_LO), }; const struct adreno_reg_offsets a4xx_reg_offsets = { Loading drivers/gpu/msm/adreno_pm4types.h +3 −0 Original line number Diff line number Diff line Loading @@ -163,6 +163,9 @@ /* PFP waits until the FIFO between the PFP and the ME is empty */ #define CP_WAIT_FOR_ME 0x13 /* Record the real-time when this packet is processed by PFP */ #define CP_RECORD_PFP_TIMESTAMP 0x11 /* * for a20x * program an offset that will added to the BIN_BASE value of Loading drivers/gpu/msm/adreno_ringbuffer.c +2 −8 Original line number Diff line number Diff line Loading @@ -1318,10 +1318,7 @@ int adreno_ringbuffer_submitcmd(struct adreno_device *adreno_dev, * write it into the appropriate cmdbatch profiling buffer offset */ if (cmdbatch_profiling) { *cmds++ = cp_type3_packet(CP_REG_TO_MEM, 2); *cmds++ = adreno_getreg(adreno_dev, ADRENO_REG_RBBM_ALWAYSON_COUNTER_LO) | (1 << 30) | (2 << 18); *cmds++ = cp_type3_packet(CP_RECORD_PFP_TIMESTAMP, 1); *cmds++ = cmdbatch->profiling_buffer_gpuaddr + offsetof(struct kgsl_cmdbatch_profiling_buffer, gpu_ticks_submitted); Loading Loading @@ -1353,10 +1350,7 @@ int adreno_ringbuffer_submitcmd(struct adreno_device *adreno_dev, * write it into the appropriate cmdbatch profiling buffer offset */ if (cmdbatch_profiling) { *cmds++ = cp_type3_packet(CP_REG_TO_MEM, 2); *cmds++ = adreno_getreg(adreno_dev, ADRENO_REG_RBBM_ALWAYSON_COUNTER_LO) | (1 << 30) | (2 << 18); *cmds++ = cp_type3_packet(CP_RECORD_PFP_TIMESTAMP, 1); *cmds++ = cmdbatch->profiling_buffer_gpuaddr + offsetof(struct kgsl_cmdbatch_profiling_buffer, gpu_ticks_retired); Loading Loading
drivers/gpu/msm/adreno.h +0 −1 Original line number Diff line number Diff line Loading @@ -445,7 +445,6 @@ enum adreno_regs { ADRENO_REG_UCHE_INVALIDATE0, ADRENO_REG_RBBM_PERFCTR_LOAD_VALUE_LO, ADRENO_REG_RBBM_PERFCTR_LOAD_VALUE_HI, ADRENO_REG_RBBM_ALWAYSON_COUNTER_LO, ADRENO_REG_REGISTER_MAX, }; Loading
drivers/gpu/msm/adreno_a4xx.c +0 −2 Original line number Diff line number Diff line Loading @@ -847,8 +847,6 @@ static unsigned int a4xx_register_offsets[ADRENO_REG_REGISTER_MAX] = { A4XX_RBBM_PERFCTR_LOAD_VALUE_LO), ADRENO_REG_DEFINE(ADRENO_REG_RBBM_PERFCTR_LOAD_VALUE_HI, A4XX_RBBM_PERFCTR_LOAD_VALUE_HI), ADRENO_REG_DEFINE(ADRENO_REG_RBBM_ALWAYSON_COUNTER_LO, A4XX_RBBM_ALWAYSON_COUNTER_LO), }; const struct adreno_reg_offsets a4xx_reg_offsets = { Loading
drivers/gpu/msm/adreno_pm4types.h +3 −0 Original line number Diff line number Diff line Loading @@ -163,6 +163,9 @@ /* PFP waits until the FIFO between the PFP and the ME is empty */ #define CP_WAIT_FOR_ME 0x13 /* Record the real-time when this packet is processed by PFP */ #define CP_RECORD_PFP_TIMESTAMP 0x11 /* * for a20x * program an offset that will added to the BIN_BASE value of Loading
drivers/gpu/msm/adreno_ringbuffer.c +2 −8 Original line number Diff line number Diff line Loading @@ -1318,10 +1318,7 @@ int adreno_ringbuffer_submitcmd(struct adreno_device *adreno_dev, * write it into the appropriate cmdbatch profiling buffer offset */ if (cmdbatch_profiling) { *cmds++ = cp_type3_packet(CP_REG_TO_MEM, 2); *cmds++ = adreno_getreg(adreno_dev, ADRENO_REG_RBBM_ALWAYSON_COUNTER_LO) | (1 << 30) | (2 << 18); *cmds++ = cp_type3_packet(CP_RECORD_PFP_TIMESTAMP, 1); *cmds++ = cmdbatch->profiling_buffer_gpuaddr + offsetof(struct kgsl_cmdbatch_profiling_buffer, gpu_ticks_submitted); Loading Loading @@ -1353,10 +1350,7 @@ int adreno_ringbuffer_submitcmd(struct adreno_device *adreno_dev, * write it into the appropriate cmdbatch profiling buffer offset */ if (cmdbatch_profiling) { *cmds++ = cp_type3_packet(CP_REG_TO_MEM, 2); *cmds++ = adreno_getreg(adreno_dev, ADRENO_REG_RBBM_ALWAYSON_COUNTER_LO) | (1 << 30) | (2 << 18); *cmds++ = cp_type3_packet(CP_RECORD_PFP_TIMESTAMP, 1); *cmds++ = cmdbatch->profiling_buffer_gpuaddr + offsetof(struct kgsl_cmdbatch_profiling_buffer, gpu_ticks_retired); Loading