Subversion Repositories Kolibri OS

Rev

Rev 3480 | Rev 3746 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3480 Rev 3482
Line 1145... Line 1145...
1145
	}
1145
	}
1146
}
1146
}
Line 1147... Line 1147...
1147
 
1147
 
1148
static void ironlake_panel_vdd_work(struct work_struct *__work)
1148
static void ironlake_panel_vdd_work(struct work_struct *__work)
1149
{
1149
{
1150
//    struct intel_dp *intel_dp = container_of(to_delayed_work(__work),
1150
	struct intel_dp *intel_dp = container_of(to_delayed_work(__work),
1151
//                        struct intel_dp, panel_vdd_work);
1151
						 struct intel_dp, panel_vdd_work);
1152
//   struct drm_device *dev = intel_dp_to_dev(intel_dp);
1152
	struct drm_device *dev = intel_dp_to_dev(intel_dp);
1153
//
1153
 
1154
//   mutex_lock(&dev->mode_config.mutex);
1154
	mutex_lock(&dev->mode_config.mutex);
1155
//   ironlake_panel_vdd_off_sync(intel_dp);
1155
	ironlake_panel_vdd_off_sync(intel_dp);
1156
//   mutex_unlock(&dev->mode_config.mutex);
1156
	mutex_unlock(&dev->mode_config.mutex);
Line 1157... Line 1157...
1157
}
1157
}
1158
 
1158
 
1159
void ironlake_edp_panel_vdd_off(struct intel_dp *intel_dp, bool sync)
1159
void ironlake_edp_panel_vdd_off(struct intel_dp *intel_dp, bool sync)
Line 1172... Line 1172...
1172
		/*
1172
		/*
1173
		 * Queue the timer to fire a long
1173
		 * Queue the timer to fire a long
1174
		 * time from now (relative to the power down delay)
1174
		 * time from now (relative to the power down delay)
1175
		 * to keep the panel power up across a sequence of operations
1175
		 * to keep the panel power up across a sequence of operations
1176
		 */
1176
		 */
1177
//       schedule_delayed_work(&intel_dp->panel_vdd_work,
1177
		schedule_delayed_work(&intel_dp->panel_vdd_work,
1178
//                     msecs_to_jiffies(intel_dp->panel_power_cycle_delay * 5));
1178
				      msecs_to_jiffies(intel_dp->panel_power_cycle_delay * 5));
1179
	}
1179
	}
1180
}
1180
}
Line 1181... Line 1181...
1181
 
1181
 
1182
void ironlake_edp_panel_on(struct intel_dp *intel_dp)
1182
void ironlake_edp_panel_on(struct intel_dp *intel_dp)