Lines Matching full:adjust
25 * close or over our TDP) we don't adjust the clamps more than once every
287 struct task_struct *adjust; member
729 * ips_adjust - adjust power clamp based on thermal state
732 * Wake up every 5s or so and check whether we should adjust the power clamp.
735 * - do we need to adjust up or down?
745 * - CPU busy, GPU not busy - adjust CPU up
746 * - CPU not busy, GPU busy - adjust GPU up
747 * - CPU busy, GPU busy - adjust preferred unit up, taking headroom from
750 * - adjust both CPU and GPU down if possible
765 dev_dbg(ips->dev, "starting ips-adjust thread\n"); in ips_adjust()
768 * Adjust CPU and GPU clamps every 5s if needed. Doing it more in ips_adjust()
812 dev_dbg(ips->dev, "ips-adjust thread stopped\n"); in ips_adjust()
949 * that data, along with CPU vs GPU preference, we adjust the power clamps
1033 wake_up_process(ips->adjust); in ips_monitor()
1537 /* Create thermal adjust thread */ in ips_probe()
1538 ips->adjust = kthread_create(ips_adjust, ips, "ips-adjust"); in ips_probe()
1539 if (IS_ERR(ips->adjust)) { in ips_probe()
1541 "failed to create thermal adjust thread, aborting\n"); in ips_probe()
1573 kthread_stop(ips->adjust); in ips_probe()
1606 if (ips->adjust) in ips_remove()
1607 kthread_stop(ips->adjust); in ips_remove()