Skip to content

Commit 55e8cc7

Browse files
Bhawanpreet Lakhagregkh
authored andcommitted
drm/amd/display: Don't log hdcp module warnings in dmesg
[ Upstream commit 875d369 ] [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>
1 parent a42f8e6 commit 55e8cc7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • drivers/gpu/drm/amd/display/modules/hdcp

‎drivers/gpu/drm/amd/display/modules/hdcp/hdcp_log.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#define MOD_HDCP_LOG_H_
2828

2929
#ifdef CONFIG_DRM_AMD_DC_HDCP
30-
#define HDCP_LOG_ERR(hdcp, ...) DRM_WARN(__VA_ARGS__)
30+
#define HDCP_LOG_ERR(hdcp, ...) DRM_DEBUG_KMS(__VA_ARGS__)
3131
#define HDCP_LOG_VER(hdcp, ...) DRM_DEBUG_KMS(__VA_ARGS__)
3232
#define HDCP_LOG_FSM(hdcp, ...) DRM_DEBUG_KMS(__VA_ARGS__)
3333
#define HDCP_LOG_TOP(hdcp, ...) pr_debug("[HDCP_TOP]:"__VA_ARGS__)

0 commit comments

Comments
 (0)