Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205109
b: refs/heads/master
c: c04c5b1
h: refs/heads/master
i:
  205107: 72e4577
v: v3
  • Loading branch information
Francisco Jerez authored and Ben Skeggs committed Jul 26, 2010
1 parent ea565b8 commit fa27a89
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 946fd35f88ae7ef910229e7995ab0c32d52517b4
refs/heads/master: c04c5b1da18ec73eaabc7b8a8757545865426fc2
8 changes: 8 additions & 0 deletions trunk/drivers/gpu/drm/nouveau/nv04_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,14 @@ nv04_display_store_initial_head_owner(struct drm_device *dev)
int
nv04_display_early_init(struct drm_device *dev)
{
/* Make the I2C buses accessible. */
if (!nv_gf4_disp_arch(dev)) {
uint32_t pmc_enable = nv_rd32(dev, NV03_PMC_ENABLE);

if (!(pmc_enable & 1))
nv_wr32(dev, NV03_PMC_ENABLE, pmc_enable | 1);
}

/* Unlock the VGA CRTCs. */
NVLockVgaCrtcs(dev, false);

Expand Down

0 comments on commit fa27a89

Please sign in to comment.