Home
last modified time | relevance | path

Searched refs:pfdevfreq (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/panfrost/
Dpanfrost_devfreq.c14 static void panfrost_devfreq_update_utilization(struct panfrost_devfreq *pfdevfreq) in panfrost_devfreq_update_utilization() argument
19 last = pfdevfreq->time_last_update; in panfrost_devfreq_update_utilization()
21 if (pfdevfreq->busy_count > 0) in panfrost_devfreq_update_utilization()
22 pfdevfreq->busy_time += ktime_sub(now, last); in panfrost_devfreq_update_utilization()
24 pfdevfreq->idle_time += ktime_sub(now, last); in panfrost_devfreq_update_utilization()
26 pfdevfreq->time_last_update = now; in panfrost_devfreq_update_utilization()
43 ptdev->pfdevfreq.current_frequency = *freq; in panfrost_devfreq_target()
48 static void panfrost_devfreq_reset(struct panfrost_devfreq *pfdevfreq) in panfrost_devfreq_reset() argument
50 pfdevfreq->busy_time = 0; in panfrost_devfreq_reset()
51 pfdevfreq->idle_time = 0; in panfrost_devfreq_reset()
[all …]
Dpanfrost_job.c205 panfrost_devfreq_record_busy(&pfdev->pfdevfreq); in panfrost_job_hw_submit()
467 panfrost_devfreq_record_idle(&pfdev->pfdevfreq); in panfrost_job_handle_err()
488 panfrost_devfreq_record_idle(&pfdev->pfdevfreq); in panfrost_job_handle_done()
699 panfrost_devfreq_record_idle(&pfdev->pfdevfreq); in panfrost_reset()
Dpanfrost_device.c226 if (!pfdev->pfdevfreq.opp_of_table_added) { in panfrost_device_init()
438 unsigned long freq = pfdev->pfdevfreq.fast_rate; in panfrost_device_resume()
Dpanfrost_device.h147 struct panfrost_devfreq pfdevfreq; member
Dpanfrost_drv.c560 engine_names[i], pfdev->pfdevfreq.fast_rate); in panfrost_gpu_show_fdinfo()
562 engine_names[i], pfdev->pfdevfreq.current_frequency); in panfrost_gpu_show_fdinfo()