From patchwork Thu Nov 17 12:30:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tvrtko Ursulin X-Patchwork-Id: 9434201 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BA92E6047D for ; Thu, 17 Nov 2016 12:30:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AB33429407 for ; Thu, 17 Nov 2016 12:30:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9FECD2947A; Thu, 17 Nov 2016 12:30:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5C7A129407 for ; Thu, 17 Nov 2016 12:30:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EBE246E7D9; Thu, 17 Nov 2016 12:30:31 +0000 (UTC) X-Original-To: Intel-gfx@lists.freedesktop.org Delivered-To: Intel-gfx@lists.freedesktop.org Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7654589AEB for ; Thu, 17 Nov 2016 12:30:30 +0000 (UTC) Received: by mail-wm0-x244.google.com with SMTP id u144so20778819wmu.0 for ; Thu, 17 Nov 2016 04:30:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ursulin-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2ST2TW5YZXm+ssWq3ovgyDksNwqMC2X++5q9WR54VSg=; b=RFD/Vpwmh/PCvCdWKxY3MK/G/EZ6uG84kWZAdGGff88QW1CXTFmd7X47F5ghFR+Ujv hV/LgPOcdsUKpHN0ybH826Xrtpst8XLqjtJ6klzMzLDmu1ena9dwkldfP6Y0O+kb0CrS 93RwkT910/LVmnAahtySTWL5zeSfEfmnQedw9jR1CFd6A3M96caQG8s09/Ih/7zklS1s sY458+7XXulk0nzii9Ew2/wbUFIMvwyscx72FadA2xZq+eFTwrFuLut7AR3R2AsXqDTB 6mh8jMfSTWVLRvSPaWUISzW4C4dsE/h/ktIcLf+f2Uj1sPHvBYtvPrwYaWDKoqbJWXCn fUbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=2ST2TW5YZXm+ssWq3ovgyDksNwqMC2X++5q9WR54VSg=; b=HJj6DmQbNqmqTUYxy/bsOBXJGGa2bqMkfiLjF4f0OFYJNKL5CsuTuRZcTL/f8m4ES5 Q+xKp1aLZOVVHUhRsEH7Njeh1wuBdAElfdhyeoUbb1insMOBGPEJZNzjC9yzR6s5WRQa DAfBd/+l9dNy4Tu1SsRgldqBEmTFTO9K8HsnQp+e5uA5GPwFOw4oljY43npBAXeMiD+j koFvPJI6Hnh8K2eNSIZQNjgyu4Se7oUlzzanmlRQWJOWd89ZFzTG+TVhxVD0zHI4luxO Q40u3ENGlqgBPZWez2+HXfhhOewMKdxcWW6Sug0ZdUQtLU+DY6tdnTzUPKfxFQiqgt1O hYnw== X-Gm-Message-State: AKaTC004JHDkLA4FPxcZl14IQfCZdilo5qbM3fiDPsrKi6d1KX5qh8PBFCz2YD1MgyggjQ== X-Received: by 10.194.52.42 with SMTP id q10mr1866596wjo.50.1479385828751; Thu, 17 Nov 2016 04:30:28 -0800 (PST) Received: from t460p.Home ([2a02:c7d:9bd6:b000:f37e:1e07:a7d8:46cd]) by smtp.gmail.com with ESMTPSA id vr9sm3014995wjc.35.2016.11.17.04.30.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Nov 2016 04:30:28 -0800 (PST) From: Tvrtko Ursulin X-Google-Original-From: Tvrtko Ursulin To: Intel-gfx@lists.freedesktop.org Date: Thu, 17 Nov 2016 12:30:11 +0000 Message-Id: <1479385814-2358-5-git-send-email-tvrtko.ursulin@linux.intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1479385814-2358-1-git-send-email-tvrtko.ursulin@linux.intel.com> References: <1479385814-2358-1-git-send-email-tvrtko.ursulin@linux.intel.com> Subject: [Intel-gfx] [PATCH 4/7] drm/i915: Compact a few pipe config debug lines X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP From: Tvrtko Ursulin Signed-off-by: Tvrtko Ursulin --- drivers/gpu/drm/i915/intel_display.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 05afd628b9f2..3c03c0172a2d 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -12757,8 +12757,8 @@ static void intel_dump_pipe_config(struct intel_crtc *crtc, DRM_DEBUG_KMS("[CRTC:%d:%s]%s\n", crtc->base.base.id, crtc->base.name, context); - DRM_DEBUG_KMS("cpu_transcoder: %s\n", transcoder_name(pipe_config->cpu_transcoder)); - DRM_DEBUG_KMS("pipe bpp: %i, dithering: %i\n", + DRM_DEBUG_KMS("cpu_transcoder: %s, pipe bpp: %i, dithering: %i\n", + transcoder_name(pipe_config->cpu_transcoder), pipe_config->pipe_bpp, pipe_config->dither); if (pipe_config->has_pch_encoder) @@ -12775,16 +12775,15 @@ static void intel_dump_pipe_config(struct intel_crtc *crtc, } DRM_DEBUG_KMS("audio: %i, infoframes: %i\n", - pipe_config->has_audio, - pipe_config->has_infoframe); + pipe_config->has_audio, pipe_config->has_infoframe); DRM_DEBUG_KMS("requested mode:\n"); drm_mode_debug_printmodeline(&pipe_config->base.mode); DRM_DEBUG_KMS("adjusted mode:\n"); drm_mode_debug_printmodeline(&pipe_config->base.adjusted_mode); intel_dump_crtc_timings(&pipe_config->base.adjusted_mode); - DRM_DEBUG_KMS("port clock: %d\n", pipe_config->port_clock); - DRM_DEBUG_KMS("pipe src size: %dx%d\n", + DRM_DEBUG_KMS("port clock: %d, pipe src size: %dx%d\n", + pipe_config->port_clock, pipe_config->pipe_src_w, pipe_config->pipe_src_h); DRM_DEBUG_KMS("num_scalers: %d, scaler_users: 0x%x, scaler_id: %d\n", crtc->num_scalers, @@ -12798,8 +12797,8 @@ static void intel_dump_pipe_config(struct intel_crtc *crtc, pipe_config->pch_pfit.pos, pipe_config->pch_pfit.size, pipe_config->pch_pfit.enabled ? "enabled" : "disabled"); - DRM_DEBUG_KMS("ips: %i\n", pipe_config->ips_enabled); - DRM_DEBUG_KMS("double wide: %i\n", pipe_config->double_wide); + DRM_DEBUG_KMS("ips: %i, double wide: %i\n", + pipe_config->ips_enabled, pipe_config->double_wide); if (IS_BROXTON(dev_priv)) { DRM_DEBUG_KMS("dpll_hw_state: ebb0: 0x%x, ebb4: 0x%x,"