Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 307569
b: refs/heads/master
c: 2f3787a
h: refs/heads/master
i:
  307567: 7de4552
v: v3
  • Loading branch information
Andreas Heider authored and Ben Skeggs committed May 24, 2012
1 parent 3a1d9b4 commit 3f2398f
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 42eddbd7b2b5cc9bbb4c918a3294b6ee9dd53c59
refs/heads/master: 2f3787aa439ae0d34e4658400c1139a7541bec1d
3 changes: 2 additions & 1 deletion trunk/drivers/gpu/drm/nouveau/nouveau_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,8 @@ void nouveau_switcheroo_optimus_dsm(void)

void nouveau_unregister_dsm_handler(void)
{
vga_switcheroo_unregister_handler();
if (nouveau_dsm_priv.optimus_detected || nouveau_dsm_priv.dsm_detected)
vga_switcheroo_unregister_handler();
}

/* retrieve the ROM in 4k blocks */
Expand Down

0 comments on commit 3f2398f

Please sign in to comment.