FreeBSD/sys/dev/drm2/i915/intel_pm.c
/**
 * i915_gpu_raise - raise GPU frequency limit
 *
 * Raise the limit; IPS indicates we have thermal headroom.
 */
raise GPU frequency limit
Raise the limit; IPS indicates we have thermal headroom.
raise GPU frequency limit Raise the limit ; IPS indicates we have thermal headroom .
bool i915_gpu_raise(void)
{
	struct drm_i915_private *dev_priv;
	bool ret = true;
	mtx_lock(&mchdev_lock);
	if (!i915_mch_dev) {
		ret = false;
		goto out_unlock;
	}
	dev_priv = i915_mch_dev;
	if (dev_priv->ips.max_delay > dev_priv->ips.fmax)
		dev_priv->ips.max_delay--;
out_unlock:
	mtx_unlock(&mchdev_lock);
	return ret;
}
bool i915_gpu_raise ( void ) { struct drm_i915_private * dev_priv ; bool ret = true ; mtx_lock ( & mchdev_lock ) ; if ( ! i915_mch_dev ) { ret = false ; goto out_unlock ; } dev_priv = i915_mch_dev ; if ( dev_priv -> ips . max_delay > dev_priv -> ips . fmax ) dev_priv -> ips . max_delay -- ; out_unlock : mtx_unlock ( & mchdev_lock ) ; return ret ; }
i915_gpu_raise - raise GPU frequency limit
 Raise the limit; IPS indicates we have thermal headroom.
i915_gpu_raise - raise GPU frequency limit Raise the limit ; IPS indicates we have thermal headroom .