Skip to content

Commit

Permalink
drm/i915: mark display port DPMS state as 'ON' when enabling output
Browse files Browse the repository at this point in the history
The display port DPMS state is tracked internally in the display port
driver so that when a hotplug event comes along, the driver can know
whether to try retraining the link. This doesn't work well if the
driver never sets the DPMS state to ON when the output is enabled.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
  • Loading branch information
Keith Packard authored and Chris Wilson committed Oct 4, 2010
1 parent 35b62a8 commit 2c6be94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/i915/intel_dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -933,6 +933,7 @@ static void intel_dp_commit(struct drm_encoder *encoder)

if (IS_eDP(intel_dp) || IS_PCH_eDP(intel_dp))
ironlake_edp_backlight_on(dev);
intel_dp->dpms_mode = DRM_MODE_DPMS_ON;
}

static void
Expand Down

0 comments on commit 2c6be94

Please sign in to comment.