Loading drivers/gpu/msm/adreno.c +8 −2 Original line number Diff line number Diff line Loading @@ -2855,9 +2855,15 @@ static void adreno_power_stats(struct kgsl_device *device, gpu_busy += adj; } if (kgsl_gmu_isenabled(device)) { /* clock sourced from XO */ stats->busy_time = gpu_busy * 10 / 192; } else { /* clock sourced from GFX3D */ stats->busy_time = adreno_ticks_to_us(gpu_busy, kgsl_pwrctrl_active_freq(pwr)); } } if (device->pwrctrl.bus_control) { uint64_t ram_cycles = 0, starved_ram = 0; Loading Loading
drivers/gpu/msm/adreno.c +8 −2 Original line number Diff line number Diff line Loading @@ -2855,9 +2855,15 @@ static void adreno_power_stats(struct kgsl_device *device, gpu_busy += adj; } if (kgsl_gmu_isenabled(device)) { /* clock sourced from XO */ stats->busy_time = gpu_busy * 10 / 192; } else { /* clock sourced from GFX3D */ stats->busy_time = adreno_ticks_to_us(gpu_busy, kgsl_pwrctrl_active_freq(pwr)); } } if (device->pwrctrl.bus_control) { uint64_t ram_cycles = 0, starved_ram = 0; Loading