From patchwork Thu Nov 17 15:44:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tvrtko Ursulin X-Patchwork-Id: 9434447 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 F07A260469 for ; Thu, 17 Nov 2016 15:44:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E1E822936A for ; Thu, 17 Nov 2016 15:44:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D531F295FF; Thu, 17 Nov 2016 15:44:22 +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 6DD32295BB for ; Thu, 17 Nov 2016 15:44:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3A4656E7E2; Thu, 17 Nov 2016 15:44:20 +0000 (UTC) X-Original-To: Intel-gfx@lists.freedesktop.org Delivered-To: Intel-gfx@lists.freedesktop.org Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9DBBE6E318 for ; Thu, 17 Nov 2016 15:44:18 +0000 (UTC) Received: by mail-wm0-x242.google.com with SMTP id m203so22346406wma.3 for ; Thu, 17 Nov 2016 07:44:18 -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; bh=9hY1kib4Umq8uFHkmj/GwX3EeWA2rCrTqNMHksOP4so=; b=mrzmpmnke9EFK3CeodDC8kyZUZ/zfHuH6BgOhdVUmG6PQPiaj+vO3vaxDtrNWMu18l hlfwqwQWCb1aZr7ksLU49xX5KlgJyGZXVVD40/FYgNeO8veGf3LgvxIua4p3sPs0DASY GLBjoCAhQaGo8AGz4AvwKY0Ywrrjh73Shc6dHbr/VPvdst08LCn+FVE9uW75Fvgo9YVl 1ILlVKGWNlueFbf5wJVueWFLMRieTdpm/V6jO4tJEEmMfxkB+8bWtngAAO4rrUHq6R7u nldN7mafQ6MtsYtLrj+OfmKSM9icbfGeC93P5lDTlAO16Da429///vZKLQundAtXfGs1 WWhw== 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; bh=9hY1kib4Umq8uFHkmj/GwX3EeWA2rCrTqNMHksOP4so=; b=HXPHBJmsBWmxeXLFZffrxSah1PoTLjnkd9DXngPKhDAe4jYVw/AToxNNDvbnvHT/hO pmbE42fokWNHyy7wVR8foKVwJyoQxVpD5Vn5lJsbnvoCgXnw9YyDkBSi3cSxOhxKPdek aqA1DNxGKGDjGwNVO3RR/FFE+FppYMxeX8JHhqBNrXFTZ0oNydIOVBeJv+Dn0FervBud QjTW+Q9SIKdMwtJbxWGecpq9nx2fYv9SYVzCcVvr4jszFiBa7NriG+XuCY/N9PRg5O6X cloV++EOFhWwcuFlVQE3GizWXPToaiHZOn7z9elhQ0H20gcSpWtygFfkMtHk8e/7A2js z1Yw== X-Gm-Message-State: ABUngvdI0vXY0GVUnNmRzlCZNqm43tVwvKKXbc9AZC7ci2XTVDOymRjti2KW9z05iJ/3Ow== X-Received: by 10.28.4.199 with SMTP id 190mr16429035wme.11.1479397457223; Thu, 17 Nov 2016 07:44:17 -0800 (PST) Received: from t460p.intel ([2a02:c7d:9bd6:b000:f37e:1e07:a7d8:46cd]) by smtp.gmail.com with ESMTPSA id d8sm16234359wmi.21.2016.11.17.07.44.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Nov 2016 07:44:16 -0800 (PST) From: Tvrtko Ursulin X-Google-Original-From: Tvrtko Ursulin To: Intel-gfx@lists.freedesktop.org Date: Thu, 17 Nov 2016 15:44:09 +0000 Message-Id: <1479397449-27085-1-git-send-email-tvrtko.ursulin@linux.intel.com> X-Mailer: git-send-email 2.7.4 Subject: [Intel-gfx] [PATCH] drm/i915: Only dump dp_m2_n2 configuration when drrs is used 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 Otherwise it is just an useless empty line. Signed-off-by: Tvrtko Ursulin Suggested-by: Maarten Lankhorst Cc: Maarten Lankhorst Reviewed-by: Maarten Lankhorst --- drivers/gpu/drm/i915/intel_display.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index bd2c99e2e523..200f09778776 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -12751,9 +12751,10 @@ static void intel_dump_pipe_config(struct intel_crtc *crtc, if (intel_crtc_has_dp_encoder(pipe_config)) { intel_dump_m_n_config(pipe_config, "dp m_n", pipe_config->lane_count, &pipe_config->dp_m_n); - intel_dump_m_n_config(pipe_config, "dp m2_n2", - pipe_config->lane_count, - &pipe_config->dp_m2_n2); + if (pipe_config->has_drrs) + intel_dump_m_n_config(pipe_config, "dp m2_n2", + pipe_config->lane_count, + &pipe_config->dp_m2_n2); } DRM_DEBUG_KMS("audio: %i, infoframes: %i\n",