projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0445f75
)
drm/nouveau: Remove useless poll_disable() call in switcheroo_set_state()
author
Lyude Paul
<
[email protected]
>
Wed, 15 Aug 2018 19:15:12 +0000
(15:15 -0400)
committer
Ben Skeggs
<
[email protected]
>
Thu, 6 Sep 2018 20:54:26 +0000
(06:54 +1000)
This won't do anything but potentially make us miss hotplugs. We already
call drm_kms_helper_poll_disable() in
nouveau_pmops_suspend()->nouveau_display_suspend()->nouveau_display_fini()
Signed-off-by: Lyude Paul <
[email protected]
>
Reviewed-by: Karol Herbst <
[email protected]
>
Acked-by: Daniel Vetter <
[email protected]
>
Cc: Lukas Wunner <
[email protected]
>
Signed-off-by: Ben Skeggs <
[email protected]
>
drivers/gpu/drm/nouveau/nouveau_vga.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_vga.c
b/drivers/gpu/drm/nouveau/nouveau_vga.c
index 09b1d8151881ac4436fe6a44258bc992de41089d..8f1ce4833230a1e693f0a76387022289fc1317d3 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nouveau_vga.c
+++ b/
drivers/gpu/drm/nouveau/nouveau_vga.c
@@
-50,7
+50,6
@@
nouveau_switcheroo_set_state(struct pci_dev *pdev,
} else {
pr_err("VGA switcheroo: switched nouveau off\n");
dev->switch_power_state = DRM_SWITCH_POWER_CHANGING;
- drm_kms_helper_poll_disable(dev);
nouveau_switcheroo_optimus_dsm();
nouveau_pmops_suspend(&pdev->dev);
dev->switch_power_state = DRM_SWITCH_POWER_OFF;