Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232803
b: refs/heads/master
c: f326905
h: refs/heads/master
i:
  232801: 6fbd790
  232799: 0364d83
v: v3
  • Loading branch information
Chris Wilson committed Jan 25, 2011
1 parent 0638767 commit f175b80
Show file tree
Hide file tree
Showing 2 changed files with 11 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: 500f7147cf5bafd139056d521536b10c2bc2e154
refs/heads/master: f3269058e7a80083dcdf89698bfcd1a6c6f8fd12
10 changes: 10 additions & 0 deletions trunk/drivers/gpu/drm/i915/intel_crt.c
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,15 @@ static int intel_crt_set_property(struct drm_connector *connector,
return 0;
}

static void intel_crt_reset(struct drm_connector *connector)
{
struct drm_device *dev = connector->dev;
struct intel_crt *crt = intel_attached_crt(connector);

if (HAS_PCH_SPLIT(dev))
crt->force_hotplug_required = 1;
}

/*
* Routines for controlling stuff on the analog port
*/
Expand All @@ -548,6 +557,7 @@ static const struct drm_encoder_helper_funcs intel_crt_helper_funcs = {
};

static const struct drm_connector_funcs intel_crt_connector_funcs = {
.reset = intel_crt_reset,
.dpms = drm_helper_connector_dpms,
.detect = intel_crt_detect,
.fill_modes = drm_helper_probe_single_connector_modes,
Expand Down

0 comments on commit f175b80

Please sign in to comment.