Displaying 1 result from an estimated 1 matches for "7a3759f".
Did you mean:
7a37597f
2013 Dec 12
1
[PATCH] drm/nouveau: only runtime suspend by default in optimus configuration
...r/049738.html
for my analysis of the situation. Since this has been around since 3.12, I'm
tagging it for stable.
drivers/gpu/drm/nouveau/nouveau_drm.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c b/drivers/gpu/drm/nouveau/nouveau_drm.c
index 7a3759f..98a22e6 100644
--- a/drivers/gpu/drm/nouveau/nouveau_drm.c
+++ b/drivers/gpu/drm/nouveau/nouveau_drm.c
@@ -858,6 +858,12 @@ static int nouveau_pmops_runtime_suspend(struct device *dev)
if (nouveau_runtime_pm == 0)
return -EINVAL;
+ /* are we optimus enabled? */
+ if (nouveau_runtime_pm == -...