Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3201812pxk; Mon, 21 Sep 2020 07:45:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPp557kU3myLm0/dOvlGDZgJLn/ftI+xoMfpJ4U6w1iJxlYOGL83XILQfZKL2kcABIqbqp X-Received: by 2002:a17:906:b1d7:: with SMTP id bv23mr48141196ejb.464.1600699537633; Mon, 21 Sep 2020 07:45:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600699537; cv=none; d=google.com; s=arc-20160816; b=D5n8ymu58VzKkXRs4CWpFD2ooA34L5AX/ekh/ysJTGyAHv6AEQVPgK8VJvKdaomTAv mixIHFH5qtJDnF8M96hhs4cmd92cvPr1pVSzl44FDoUX7nhBCUtAJ8fDokhVJvk4wCsq BWNaaA0MA6viwcHtqydl3teJF1qNcbMvRm7ckVGQZVs2pqHQRTc6jKPzjIXDBHG+c4IJ 3HWwEv6ER08XEu42fslaZk4N0SAgyySsnLZYLcx/fYcInImanQ2FNmXihiPp8NXWm5G6 wvi/bhUMk8cP9rxEurUnrz2bl8Vk/8v4b+OSo/hw++LQCd4Pp+nfXJxsCGAaol3+348M ZOTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=OwNGwurmJcozB45eAoxiVRdd5wKAcbcmt/1dDqqaYRE=; b=iHermbTfU3C9W0sU9DFIVNKeUq+Hnf5GjYDQs/XLzJ+UZP44WnyFRSO5ESA1M0zjRR wHe/dR/XU11NOkECoc3rgtxNPuEp2L4zYxQy0zL1P1wl9Iqu+k10W7v3l9FYsACVh2Ac jjtZa49sKH8W2aMzYo+QnuI2vBFdw4pD8ksiB2raPbX8lFQLZg5tXdL9Mrs9fh3he9Kx b8exBgRJi9g0X97dQhpJj5EfjhPac1NtMbEcgsdtsaDqOCO6qXa6IDEbdFd4Qfdkb11c ada9a2JOUyWaPtYVGDgaAx8z5BIj0NN3g9DtdxTfiZPQLKnqcDVu2oIN7CPoIu/QEOQl tv2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2lnBbpQm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f14si8478702edt.186.2020.09.21.07.45.14; Mon, 21 Sep 2020 07:45:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2lnBbpQm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728234AbgIUOnR (ORCPT + 99 others); Mon, 21 Sep 2020 10:43:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:49532 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727892AbgIUOkt (ORCPT ); Mon, 21 Sep 2020 10:40:49 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B5DF3221EC; Mon, 21 Sep 2020 14:40:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600699248; bh=iCMmlg68NCVnUTDoPJQ2F3o7x/tEUQScwr2ioQlr60U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2lnBbpQmhPKQJv1ktrw2p5aX3nc0anvr2XsSZECUs0PasrlZa05IXVtHQIXd1wWqD s6Mp9WYKCS7JanSCzGSsrZXgsaoO30UcTIYMhYwauE+IneT/imEV5qoXBEBe7Z8kFS 2+Og412dlryBcE9Gwtax3VP8RS8iyW27fJpsIJQk= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Bhawanpreet Lakha , Alex Deucher , Rodrigo Siqueira , Sasha Levin , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH AUTOSEL 5.8 16/20] drm/amd/display: Don't log hdcp module warnings in dmesg Date: Mon, 21 Sep 2020 10:40:23 -0400 Message-Id: <20200921144027.2135390-16-sashal@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200921144027.2135390-1-sashal@kernel.org> References: <20200921144027.2135390-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bhawanpreet Lakha [ Upstream commit 875d369d8f75275d30e59421602d9366426abff7 ] [Why] DTM topology updates happens by default now. This results in DTM warnings when hdcp is not even being enabled. This spams the dmesg and doesn't effect normal display functionality so it is better to log it using DRM_DEBUG_KMS() [How] Change the DRM_WARN() to DRM_DEBUG_KMS() Signed-off-by: Bhawanpreet Lakha Acked-by: Alex Deucher Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/display/modules/hdcp/hdcp_log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/modules/hdcp/hdcp_log.h b/drivers/gpu/drm/amd/display/modules/hdcp/hdcp_log.h index d3192b9d0c3d8..47f8ee2832ff0 100644 --- a/drivers/gpu/drm/amd/display/modules/hdcp/hdcp_log.h +++ b/drivers/gpu/drm/amd/display/modules/hdcp/hdcp_log.h @@ -27,7 +27,7 @@ #define MOD_HDCP_LOG_H_ #ifdef CONFIG_DRM_AMD_DC_HDCP -#define HDCP_LOG_ERR(hdcp, ...) DRM_WARN(__VA_ARGS__) +#define HDCP_LOG_ERR(hdcp, ...) DRM_DEBUG_KMS(__VA_ARGS__) #define HDCP_LOG_VER(hdcp, ...) DRM_DEBUG_KMS(__VA_ARGS__) #define HDCP_LOG_FSM(hdcp, ...) DRM_DEBUG_KMS(__VA_ARGS__) #define HDCP_LOG_TOP(hdcp, ...) pr_debug("[HDCP_TOP]:"__VA_ARGS__) -- 2.25.1