drrs             2327 drivers/gpu/drm/i915/display/intel_dp.c 		dev_priv->drrs.type == SEAMLESS_DRRS_SUPPORT) {
drrs             6652 drivers/gpu/drm/i915/display/intel_dp.c 	struct intel_dp *intel_dp = dev_priv->drrs.dp;
drrs             6671 drivers/gpu/drm/i915/display/intel_dp.c 	if (dev_priv->drrs.type < SEAMLESS_DRRS_SUPPORT) {
drrs             6680 drivers/gpu/drm/i915/display/intel_dp.c 	if (index == dev_priv->drrs.refresh_rate_type) {
drrs             6722 drivers/gpu/drm/i915/display/intel_dp.c 	dev_priv->drrs.refresh_rate_type = index;
drrs             6749 drivers/gpu/drm/i915/display/intel_dp.c 	mutex_lock(&dev_priv->drrs.mutex);
drrs             6750 drivers/gpu/drm/i915/display/intel_dp.c 	if (dev_priv->drrs.dp) {
drrs             6755 drivers/gpu/drm/i915/display/intel_dp.c 	dev_priv->drrs.busy_frontbuffer_bits = 0;
drrs             6757 drivers/gpu/drm/i915/display/intel_dp.c 	dev_priv->drrs.dp = intel_dp;
drrs             6760 drivers/gpu/drm/i915/display/intel_dp.c 	mutex_unlock(&dev_priv->drrs.mutex);
drrs             6777 drivers/gpu/drm/i915/display/intel_dp.c 	mutex_lock(&dev_priv->drrs.mutex);
drrs             6778 drivers/gpu/drm/i915/display/intel_dp.c 	if (!dev_priv->drrs.dp) {
drrs             6779 drivers/gpu/drm/i915/display/intel_dp.c 		mutex_unlock(&dev_priv->drrs.mutex);
drrs             6783 drivers/gpu/drm/i915/display/intel_dp.c 	if (dev_priv->drrs.refresh_rate_type == DRRS_LOW_RR)
drrs             6787 drivers/gpu/drm/i915/display/intel_dp.c 	dev_priv->drrs.dp = NULL;
drrs             6788 drivers/gpu/drm/i915/display/intel_dp.c 	mutex_unlock(&dev_priv->drrs.mutex);
drrs             6790 drivers/gpu/drm/i915/display/intel_dp.c 	cancel_delayed_work_sync(&dev_priv->drrs.work);
drrs             6796 drivers/gpu/drm/i915/display/intel_dp.c 		container_of(work, typeof(*dev_priv), drrs.work.work);
drrs             6799 drivers/gpu/drm/i915/display/intel_dp.c 	mutex_lock(&dev_priv->drrs.mutex);
drrs             6801 drivers/gpu/drm/i915/display/intel_dp.c 	intel_dp = dev_priv->drrs.dp;
drrs             6811 drivers/gpu/drm/i915/display/intel_dp.c 	if (dev_priv->drrs.busy_frontbuffer_bits)
drrs             6814 drivers/gpu/drm/i915/display/intel_dp.c 	if (dev_priv->drrs.refresh_rate_type != DRRS_LOW_RR) {
drrs             6822 drivers/gpu/drm/i915/display/intel_dp.c 	mutex_unlock(&dev_priv->drrs.mutex);
drrs             6841 drivers/gpu/drm/i915/display/intel_dp.c 	if (dev_priv->drrs.type == DRRS_NOT_SUPPORTED)
drrs             6844 drivers/gpu/drm/i915/display/intel_dp.c 	cancel_delayed_work(&dev_priv->drrs.work);
drrs             6846 drivers/gpu/drm/i915/display/intel_dp.c 	mutex_lock(&dev_priv->drrs.mutex);
drrs             6847 drivers/gpu/drm/i915/display/intel_dp.c 	if (!dev_priv->drrs.dp) {
drrs             6848 drivers/gpu/drm/i915/display/intel_dp.c 		mutex_unlock(&dev_priv->drrs.mutex);
drrs             6852 drivers/gpu/drm/i915/display/intel_dp.c 	crtc = dp_to_dig_port(dev_priv->drrs.dp)->base.base.crtc;
drrs             6856 drivers/gpu/drm/i915/display/intel_dp.c 	dev_priv->drrs.busy_frontbuffer_bits |= frontbuffer_bits;
drrs             6859 drivers/gpu/drm/i915/display/intel_dp.c 	if (frontbuffer_bits && dev_priv->drrs.refresh_rate_type == DRRS_LOW_RR)
drrs             6861 drivers/gpu/drm/i915/display/intel_dp.c 			dev_priv->drrs.dp->attached_connector->panel.fixed_mode->vrefresh);
drrs             6863 drivers/gpu/drm/i915/display/intel_dp.c 	mutex_unlock(&dev_priv->drrs.mutex);
drrs             6884 drivers/gpu/drm/i915/display/intel_dp.c 	if (dev_priv->drrs.type == DRRS_NOT_SUPPORTED)
drrs             6887 drivers/gpu/drm/i915/display/intel_dp.c 	cancel_delayed_work(&dev_priv->drrs.work);
drrs             6889 drivers/gpu/drm/i915/display/intel_dp.c 	mutex_lock(&dev_priv->drrs.mutex);
drrs             6890 drivers/gpu/drm/i915/display/intel_dp.c 	if (!dev_priv->drrs.dp) {
drrs             6891 drivers/gpu/drm/i915/display/intel_dp.c 		mutex_unlock(&dev_priv->drrs.mutex);
drrs             6895 drivers/gpu/drm/i915/display/intel_dp.c 	crtc = dp_to_dig_port(dev_priv->drrs.dp)->base.base.crtc;
drrs             6899 drivers/gpu/drm/i915/display/intel_dp.c 	dev_priv->drrs.busy_frontbuffer_bits &= ~frontbuffer_bits;
drrs             6902 drivers/gpu/drm/i915/display/intel_dp.c 	if (frontbuffer_bits && dev_priv->drrs.refresh_rate_type == DRRS_LOW_RR)
drrs             6904 drivers/gpu/drm/i915/display/intel_dp.c 				dev_priv->drrs.dp->attached_connector->panel.fixed_mode->vrefresh);
drrs             6910 drivers/gpu/drm/i915/display/intel_dp.c 	if (!dev_priv->drrs.busy_frontbuffer_bits)
drrs             6911 drivers/gpu/drm/i915/display/intel_dp.c 		schedule_delayed_work(&dev_priv->drrs.work,
drrs             6913 drivers/gpu/drm/i915/display/intel_dp.c 	mutex_unlock(&dev_priv->drrs.mutex);
drrs             6973 drivers/gpu/drm/i915/display/intel_dp.c 	INIT_DELAYED_WORK(&dev_priv->drrs.work, intel_edp_drrs_downclock_work);
drrs             6974 drivers/gpu/drm/i915/display/intel_dp.c 	mutex_init(&dev_priv->drrs.mutex);
drrs             6992 drivers/gpu/drm/i915/display/intel_dp.c 	dev_priv->drrs.type = dev_priv->vbt.drrs_type;
drrs             6994 drivers/gpu/drm/i915/display/intel_dp.c 	dev_priv->drrs.refresh_rate_type = DRRS_HIGH_RR;
drrs              765 drivers/gpu/drm/i915/display/intel_psr.c 	WARN_ON(dev_priv->drrs.dp);
drrs             2997 drivers/gpu/drm/i915/i915_debugfs.c 	struct i915_drrs *drrs = &dev_priv->drrs;
drrs             3025 drivers/gpu/drm/i915/i915_debugfs.c 		mutex_lock(&drrs->mutex);
drrs             3030 drivers/gpu/drm/i915/i915_debugfs.c 		if (!drrs->dp) {
drrs             3035 drivers/gpu/drm/i915/i915_debugfs.c 			mutex_unlock(&drrs->mutex);
drrs             3039 drivers/gpu/drm/i915/i915_debugfs.c 		panel = &drrs->dp->attached_connector->panel;
drrs             3041 drivers/gpu/drm/i915/i915_debugfs.c 					drrs->busy_frontbuffer_bits);
drrs             3044 drivers/gpu/drm/i915/i915_debugfs.c 		if (drrs->refresh_rate_type == DRRS_HIGH_RR) {
drrs             3047 drivers/gpu/drm/i915/i915_debugfs.c 		} else if (drrs->refresh_rate_type == DRRS_LOW_RR) {
drrs             3052 drivers/gpu/drm/i915/i915_debugfs.c 						drrs->refresh_rate_type);
drrs             3053 drivers/gpu/drm/i915/i915_debugfs.c 			mutex_unlock(&drrs->mutex);
drrs             3059 drivers/gpu/drm/i915/i915_debugfs.c 		mutex_unlock(&drrs->mutex);
drrs             1377 drivers/gpu/drm/i915/i915_drv.h 	struct i915_drrs drrs;