nouveau: move conditional suspend messages into conditionals
PATCH 1/1 nouveau: move conditional suspend messages into conditionals
Signed-off-by Pierre Moreau <[email protected]>
--- drm/nouveau_drm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
drm/nouveau_drm.c +3 -2
@@ -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;
Signature · 6 lines
2.2.2 _______________________________________________ Nouveau mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/nouveau