Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165999
b: refs/heads/master
c: 730915d
h: refs/heads/master
i:
  165997: f0f51ec
  165995: 178f115
  165991: bdfed9c
  165983: 0c575d8
v: v3
  • Loading branch information
Zhenyu Wang authored and Jesse Barnes committed Sep 17, 2009
1 parent dd4e494 commit 7aa0f1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 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: 339e5a4c78041cd7b473ddf0a81eb06a131127bb
refs/heads/master: 730915d65f9e763de9dc26c5f1b8abaae775b243
9 changes: 2 additions & 7 deletions trunk/drivers/gpu/drm/i915/intel_crt.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,10 @@ static bool intel_igdng_crt_detect_hotplug(struct drm_connector *connector)
{
struct drm_device *dev = connector->dev;
struct drm_i915_private *dev_priv = dev->dev_private;
u32 adpa, temp;
u32 adpa;
bool ret;

temp = adpa = I915_READ(PCH_ADPA);

adpa &= ~ADPA_DAC_ENABLE;
I915_WRITE(PCH_ADPA, adpa);
adpa = I915_READ(PCH_ADPA);

adpa &= ~ADPA_CRT_HOTPLUG_MASK;

Expand All @@ -212,8 +209,6 @@ static bool intel_igdng_crt_detect_hotplug(struct drm_connector *connector)
else
ret = false;

/* restore origin register */
I915_WRITE(PCH_ADPA, temp);
return ret;
}

Expand Down

0 comments on commit 7aa0f1d

Please sign in to comment.