]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: Don't log hdcp module warnings in dmesg
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Tue, 15 Sep 2020 21:26:29 +0000 (17:26 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Oct 2020 15:36:25 +0000 (17:36 +0200)
commit55e8cc72415c92df8aa52c528d73bfe9685671c1
tree1c67d881b743726e1560d50b09f3a2dc047da795
parenta42f8e6ba427ac8bf6094dc1eba556bbc6f304d0
drm/amd/display: Don't log hdcp module warnings in dmesg

[ 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 <Bhawanpreet.Lakha@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_log.h