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
722 * ips_adjust - adjust power clamp based on thermal state
725 * Wake up every 5s or so and check whether we should adjust the power clamp.
728 * - do we need to adjust up or down?
738 * - CPU busy, GPU not busy - adjust CPU up
739 * - CPU not busy, GPU busy - adjust GPU up
740 * - CPU busy, GPU busy - adjust preferred unit up, taking headroom from
743 * - adjust both CPU and GPU down if possible
757 dev_dbg(ips->dev, "starting ips-adjust thread\n"); in ips_adjust()
760 * Adjust CPU and GPU clamps every 5s if needed. Doing it more in ips_adjust()
804 dev_dbg(ips->dev, "ips-adjust thread stopped\n"); in ips_adjust()
941 * that data, along with CPU vs GPU preference, we adjust the power clamps
1023 wake_up_process(ips->adjust); in ips_monitor()
1553 /* Create thermal adjust thread */ in ips_probe()
1554 ips->adjust = kthread_create(ips_adjust, ips, "ips-adjust"); in ips_probe()
1555 if (IS_ERR(ips->adjust)) { in ips_probe()
1557 "failed to create thermal adjust thread, aborting\n"); in ips_probe()
1589 kthread_stop(ips->adjust); in ips_probe()
1622 if (ips->adjust) in ips_remove()
1623 kthread_stop(ips->adjust); in ips_remove()