From patchwork Tue Jan 30 14:47:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Paul X-Patchwork-Id: 10191921 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 612FC60375 for ; Tue, 30 Jan 2018 14:47:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 50FF025EA6 for ; Tue, 30 Jan 2018 14:47:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 43640285C7; Tue, 30 Jan 2018 14:47:12 +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 8E49625EA6 for ; Tue, 30 Jan 2018 14:47:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C4A4A6E75E; Tue, 30 Jan 2018 14:47:09 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-yw0-x242.google.com (mail-yw0-x242.google.com [IPv6:2607:f8b0:4002:c05::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4EE576E75E for ; Tue, 30 Jan 2018 14:47:09 +0000 (UTC) Received: by mail-yw0-x242.google.com with SMTP id q6so4880164ywg.3 for ; Tue, 30 Jan 2018 06:47:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=ndYq/aAebfWe9ZV9enPl05BOPNtM3253oQ8X5nLajpY=; b=ZA0rduUpeDo8ZTUQqQtx3VGaQLbKa00MWMwJNmI2rq3pSYgK154lUEZGBUOkjJS8tc fjsDM6Si9YftwZQJniANfeMZou7xmXfGNG3Pu411YEG3AmHllY7w2nbS90B3cH8wMM1C 49K/O36BHkPjHw6Bo3fAerRZvbXdL7TvQ/h2s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ndYq/aAebfWe9ZV9enPl05BOPNtM3253oQ8X5nLajpY=; b=FpRYHVQfQ1KKvy0g3doZ94m0w0kC+r3iCbNH1zi7UHApZr6GaAIOMWOnnAonShcdn7 NF+CSDs1eJ09yapCtb3R8Z9JYd4Tih+nv7U5I3yONOVTwsxxhz+RI0W2krJJRFqf0UwS 9hUw2+Hv8D/9Lb6sY8FMxOJ7m7dcRJHF4gbxfRZC1JfAG/5I6/ON9m9LGJPWKaAwzP1i Sk0CW8BS2XfUltWPlKfAE2PKgyXRN8jkY4i+dFC4ohffSPM/AN9K8f+w216Aws0lvYza yt1+rtf1p1tDUrRrXilz7F1l4zL0szJdfS32Fi+Rrb0GTlfjghdB7g8+ZiZxlm7tWeOi padw== X-Gm-Message-State: AKwxytfT7dsW/sWYazk1RJQLRmW6A0fZVGoQ2V5QLGMVf5a4nqsgWgDP ST6QjlUMTssTTz5I5PRvqe00GA== X-Google-Smtp-Source: AH8x227S2zMPwLscLkQ8Md4GF3RceNYWWktAOaphKp8RyqT0DWTpVcgUOd5p+4rlOKqxRZZHjUye6g== X-Received: by 10.129.112.69 with SMTP id l66mr19794980ywc.322.1517323628570; Tue, 30 Jan 2018 06:47:08 -0800 (PST) Received: from rosewood.cam.corp.google.com ([2620:0:1013:11:d3af:69ac:1964:28e8]) by smtp.gmail.com with ESMTPSA id z30sm5329789ywj.15.2018.01.30.06.47.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Jan 2018 06:47:07 -0800 (PST) From: Sean Paul To: dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, daniel.vetter@ffwll.ch Date: Tue, 30 Jan 2018 09:47:01 -0500 Message-Id: <20180130144707.171657-1-seanpaul@chromium.org> X-Mailer: git-send-email 2.16.0.rc1.238.g530d649a79-goog Subject: [Intel-gfx] [PATCH] drm/i915: Downgrade hdcp logs from INFO to DEBUG_KMS X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rodrigo Vivi MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP HDCP was a bit too chatty to get along with the rest of the i915 driver. Suggested-by: Daniel Vetter Signed-off-by: Sean Paul Reviewed-by: Daniel Vetter --- drivers/gpu/drm/i915/intel_hdcp.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_hdcp.c b/drivers/gpu/drm/i915/intel_hdcp.c index 9fc9da030514..b97184eccd9c 100644 --- a/drivers/gpu/drm/i915/intel_hdcp.c +++ b/drivers/gpu/drm/i915/intel_hdcp.c @@ -379,7 +379,8 @@ int intel_hdcp_auth_downstream(struct intel_digital_port *intel_dig_port, return -ENXIO; } - DRM_INFO("HDCP is enabled (%d downstream devices)\n", num_downstream); + DRM_DEBUG_KMS("HDCP is enabled (%d downstream devices)\n", + num_downstream); return 0; } @@ -500,7 +501,7 @@ static int intel_hdcp_auth(struct intel_digital_port *intel_dig_port, if (repeater_present) return intel_hdcp_auth_downstream(intel_dig_port, shim); - DRM_INFO("HDCP is enabled (no repeater present)\n"); + DRM_DEBUG_KMS("HDCP is enabled (no repeater present)\n"); return 0; } @@ -532,7 +533,7 @@ static int _intel_hdcp_disable(struct intel_connector *connector) return ret; } - DRM_INFO("HDCP is disabled\n"); + DRM_DEBUG_KMS("HDCP is disabled\n"); return 0; } @@ -735,7 +736,7 @@ int intel_hdcp_check_link(struct intel_connector *connector) goto out; } - DRM_INFO("HDCP link failed, retrying authentication\n"); + DRM_DEBUG_KMS("HDCP link failed, retrying authentication\n"); ret = _intel_hdcp_disable(connector); if (ret) {