Lines Matching full:adjust
25 * close or over our TDP) we don't adjust the clamps more than once every
286 struct task_struct *adjust; member
728 * ips_adjust - adjust power clamp based on thermal state
731 * Wake up every 5s or so and check whether we should adjust the power clamp.
734 * - do we need to adjust up or down?
744 * - CPU busy, GPU not busy - adjust CPU up
745 * - CPU not busy, GPU busy - adjust GPU up
746 * - CPU busy, GPU busy - adjust preferred unit up, taking headroom from
749 * - adjust both CPU and GPU down if possible
764 dev_dbg(ips->dev, "starting ips-adjust thread\n"); in ips_adjust()
767 * Adjust CPU and GPU clamps every 5s if needed. Doing it more in ips_adjust()
811 dev_dbg(ips->dev, "ips-adjust thread stopped\n"); in ips_adjust()
948 * that data, along with CPU vs GPU preference, we adjust the power clamps
1032 wake_up_process(ips->adjust); in ips_monitor()
1536 /* Create thermal adjust thread */ in ips_probe()
1537 ips->adjust = kthread_create(ips_adjust, ips, "ips-adjust"); in ips_probe()
1538 if (IS_ERR(ips->adjust)) { in ips_probe()
1540 "failed to create thermal adjust thread, aborting\n"); in ips_probe()
1572 kthread_stop(ips->adjust); in ips_probe()
1605 if (ips->adjust) in ips_remove()
1606 kthread_stop(ips->adjust); in ips_remove()