Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269804
b: refs/heads/master
c: 32ce697
h: refs/heads/master
v: v3
  • Loading branch information
Keith Packard committed Oct 12, 2011
1 parent 3152a6f commit be153f8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 05ce1a4961cffd7b0c8d4b70a7c9fa341368bc48
refs/heads/master: 32ce697c53f41290c3a2d3807b521b0fe4f42d2a
9 changes: 9 additions & 0 deletions trunk/drivers/gpu/drm/i915/intel_dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,16 @@ static void ironlake_wait_panel_off(struct intel_dp *intel_dp)
{
unsigned long off_time;
unsigned long delay;

DRM_DEBUG_KMS("Wait for panel power off time\n");

if (ironlake_edp_have_panel_power(intel_dp) ||
ironlake_edp_have_panel_vdd(intel_dp))
{
DRM_DEBUG_KMS("Panel still on, no delay needed\n");
return;
}

off_time = intel_dp->panel_off_jiffies + msecs_to_jiffies(intel_dp->panel_power_down_delay);
if (time_after(jiffies, off_time)) {
DRM_DEBUG_KMS("Time already passed");
Expand Down

0 comments on commit be153f8

Please sign in to comment.