Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358023
b: refs/heads/master
c: c00db24
h: refs/heads/master
i:
  358021: 09781df
  358019: 77e5ee3
  358015: 9459af7
v: v3
  • Loading branch information
Daniel Vetter committed Jan 22, 2013
1 parent 0b0f076 commit c44ab17
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 7b9f35a6dd72f89452c58bbdbaf063027bf857ec
refs/heads/master: c00db2463978ffab59d731773aae1a4f4e11d78c
4 changes: 4 additions & 0 deletions trunk/drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -4873,6 +4873,8 @@ static void lpt_init_pch_refclk(struct drm_device *dev)
if (!has_vga)
return;

mutex_lock(&dev_priv->dpio_lock);

/* XXX: Rip out SDV support once Haswell ships for real. */
if (IS_HASWELL(dev) && (dev->pci_device & 0xFF00) == 0x0C00)
is_sdv = true;
Expand Down Expand Up @@ -5015,6 +5017,8 @@ static void lpt_init_pch_refclk(struct drm_device *dev)
tmp = intel_sbi_read(dev_priv, SBI_DBUFF0, SBI_ICLK);
tmp |= SBI_DBUFF0_ENABLE;
intel_sbi_write(dev_priv, SBI_DBUFF0, tmp, SBI_ICLK);

mutex_unlock(&dev_priv->dpio_lock);
}

/*
Expand Down

0 comments on commit c44ab17

Please sign in to comment.