All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nouveau: move conditional suspend messages into conditionals
@ 2015-01-17  1:01 Pierre Moreau
  0 siblings, 0 replies; only message in thread
From: Pierre Moreau @ 2015-01-17  1:01 UTC (permalink / raw
  To: Nouveau List, Ben Skeggs

Signed-off-by: Pierre Moreau <pierre.morrow@free.fr>
---
 drm/nouveau_drm.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drm/nouveau_drm.c b/drm/nouveau_drm.c
index 65910e3..9eb90a6 100644
--- a/drm/nouveau_drm.c
+++ b/drm/nouveau_drm.c
@@ -562,21 +562,22 @@ nouveau_do_suspend(struct drm_device *dev, bool runtime)
 	NV_INFO(drm, "evicting buffers...\n");
 	ttm_bo_evict_mm(&drm->ttm.bdev, TTM_PL_VRAM);
 
-	NV_INFO(drm, "waiting for kernel channels to go idle...\n");
 	if (drm->cechan) {
+		NV_INFO(drm, "waiting for cechan to go idle...\n");
 		ret = nouveau_channel_idle(drm->cechan);
 		if (ret)
 			goto fail_display;
 	}
 
 	if (drm->channel) {
+		NV_INFO(drm, "waiting for kernel channel to go idle...\n");
 		ret = nouveau_channel_idle(drm->channel);
 		if (ret)
 			goto fail_display;
 	}
 
-	NV_INFO(drm, "suspending client object trees...\n");
 	if (drm->fence && nouveau_fence(drm)->suspend) {
+		NV_INFO(drm, "suspending client object trees...\n");
 		if (!nouveau_fence(drm)->suspend(drm)) {
 			ret = -ENOMEM;
 			goto fail_display;
-- 
2.2.2

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-17  1:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-17  1:01 [PATCH] nouveau: move conditional suspend messages into conditionals Pierre Moreau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.