Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145038
b: refs/heads/master
c: 9d2949a
h: refs/heads/master
v: v3
  • Loading branch information
Ma Ling authored and Eric Anholt committed May 14, 2009
1 parent 45de3f1 commit 9b796af
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c9ed4486bdee3b54cb544fc181057bc6bf1ae45c
refs/heads/master: 9d2949a4cdb77b9b5c243c79be6489d34d770c7c
17 changes: 12 additions & 5 deletions trunk/drivers/gpu/drm/i915/intel_hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,18 @@ intel_hdmi_detect(struct drm_connector *connector)

temp = I915_READ(PORT_HOTPLUG_EN);

I915_WRITE(PORT_HOTPLUG_EN,
temp |
HDMIB_HOTPLUG_INT_EN |
HDMIC_HOTPLUG_INT_EN |
HDMID_HOTPLUG_INT_EN);
switch (hdmi_priv->sdvox_reg) {
case SDVOB:
temp |= HDMIB_HOTPLUG_INT_EN;
break;
case SDVOC:
temp |= HDMIC_HOTPLUG_INT_EN;
break;
default:
return connector_status_unknown;
}

I915_WRITE(PORT_HOTPLUG_EN, temp);

POSTING_READ(PORT_HOTPLUG_EN);

Expand Down

0 comments on commit 9b796af

Please sign in to comment.