Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135962
b: refs/heads/master
c: 13520b0
h: refs/heads/master
v: v3
  • Loading branch information
Kristian Høgsberg authored and Eric Anholt committed Mar 27, 2009
1 parent 6e21ccd commit 9cb8478
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 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: d490609321828c62e8dfa6220f0acd82e5cb3756
refs/heads/master: 13520b051e8888dd3af9bda639d83e7df76613d1
10 changes: 9 additions & 1 deletion trunk/drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -1735,13 +1735,21 @@ static void intel_setup_outputs(struct drm_device *dev)

if (IS_I9XX(dev)) {
int found;
u32 reg;

if (I915_READ(SDVOB) & SDVO_DETECTED) {
found = intel_sdvo_init(dev, SDVOB);
if (!found && SUPPORTS_INTEGRATED_HDMI(dev))
intel_hdmi_init(dev, SDVOB);
}
if (!IS_G4X(dev) || (I915_READ(SDVOB) & SDVO_DETECTED)) {

/* Before G4X SDVOC doesn't have its own detect register */
if (IS_G4X(dev))
reg = SDVOC;
else
reg = SDVOB;

if (I915_READ(reg) & SDVO_DETECTED) {
found = intel_sdvo_init(dev, SDVOC);
if (!found && SUPPORTS_INTEGRATED_HDMI(dev))
intel_hdmi_init(dev, SDVOC);
Expand Down

0 comments on commit 9cb8478

Please sign in to comment.