Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3199954pxk; Mon, 21 Sep 2020 07:43:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwk8q7cdBKLXtabuyC28tgpgaHdwK59huVscbtn4a/TX1kZ2CtDcE/JLccD+Jzc6EkJXCG+ X-Received: by 2002:a17:906:7695:: with SMTP id o21mr46918899ejm.176.1600699382590; Mon, 21 Sep 2020 07:43:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600699382; cv=none; d=google.com; s=arc-20160816; b=Z8Js0tc6sXdImlj4pu0D2cwN5t3KARwtJTk2vjhQ0JakFjw5FjVlvVsw+L/6xqdVbB LoktXLFKB3Mq7X0kkA7kcZ57dup5vpIzMW+idUToeWxuMzkEnZbQhdx2cV9780hMwDma nRbs6p9IwpBtk71MbJic87/jxljPQChBhuoD8N7FXQTHzchSFfjZ96HY/WpyyEMD3g2k A7hiZYBLoGwV/G1rCYOMuRO/eWbtehY++Xil/e8pQMZomZYbC3KMEAArh7EA/uwE1Yok Ptt/LckymEiprn2P0O0KkxqzvBDzWYmiWrXfVblyU/oojVDm9UgYd9J5WlxXGjj8y7XC IdwQ== 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=f299RTJbWqZBvsm7XASEhSuycEvkySUoR7TO+zYvxgM=; b=APs0wwVe0ptyIBNusjpQsdgXbWVYIGMPD4d1I32a8Wu6s3HxcHxib5WmkRHk8CKHIT ITyK/ZaaMkCig/wnIq3pB/3xQvwwUXA85TxDc/yCi/kdSdhTbQO7dUE8x5Cl4aoSRT1r BzPpm+WYA9vCD4VClHdKsz8b97S3OQV/JmXiM5B03cL7Q7dkWV443qROEjU176XBgqh4 cXxTDTYldOavHCHa7mQcWlYIeWG9BG91x/7+neqVdrh6PsRg/1Gw3psrL80OCUmxCay/ fm4zHBV8mCFXix6gElJ7QAiSBMMOV4omypE5ScHPMVKscvigVZAZENxCPW0rOHXoSpX4 5DvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FLHtJmK7; 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 x10si8761479eju.11.2020.09.21.07.42.38; Mon, 21 Sep 2020 07:43:02 -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=FLHtJmK7; 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 S1727941AbgIUOk5 (ORCPT + 99 others); Mon, 21 Sep 2020 10:40:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:49418 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727867AbgIUOkp (ORCPT ); Mon, 21 Sep 2020 10:40:45 -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 BC34122574; Mon, 21 Sep 2020 14:40:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600699244; bh=D+jP0hxkPbhpy/8gi/F3wmT+MlFROMr33HDS7vMN3hQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FLHtJmK7jv4vAlUO6rwtVap/LgllxcWa775E3ValwFoYdwIaQo4Ye9mwzzvaT4RA1 FnwQoqdmQnw+EEBHN3jIXoU4BbzXUKisyImXnxTaI9GS+0MfbrtPJb2OkbRMbIpH+I nCGPX0G/ipiZgWUqiaVnpHOJ09nRi1Ak0VhcUzIw= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Bhawanpreet Lakha , Aurabindo Pillai , Alex Deucher , Sasha Levin , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH AUTOSEL 5.8 13/20] drm/amd/display: Don't use DRM_ERROR() for DTM add topology Date: Mon, 21 Sep 2020 10:40:20 -0400 Message-Id: <20200921144027.2135390-13-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 4cdd7b332ed139b1e37faeb82409a14490adb644 ] [Why] Previously we were only calling add_topology when hdcp was being enabled. Now we call add_topology by default so the ERROR messages are printed if the firmware is not loaded. This error message is not relevant for normal display functionality so no need to print a ERROR message. [How] Change DRM_ERROR to DRM_INFO Signed-off-by: Bhawanpreet Lakha Acked-by: Aurabindo Pillai Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c b/drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c index fb1161dd7ea80..3a367a5968ae1 100644 --- a/drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c +++ b/drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c @@ -88,7 +88,7 @@ enum mod_hdcp_status mod_hdcp_add_display_to_topology(struct mod_hdcp *hdcp, enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; if (!psp->dtm_context.dtm_initialized) { - DRM_ERROR("Failed to add display topology, DTM TA is not initialized."); + DRM_INFO("Failed to add display topology, DTM TA is not initialized."); display->state = MOD_HDCP_DISPLAY_INACTIVE; return MOD_HDCP_STATUS_FAILURE; } -- 2.25.1