]> git.baikalelectronics.ru Git - kernel.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)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Sep 2020 04:13:34 +0000 (00:13 -0400)
commitd2104bd2254eb5b5e53507bed1b950c81ed1d17c
tree73d6c678636405f1be983d76af77fde7af921737
parent9f503aff4208170fed9590fd14c41d34856c100b
drm/amd/display: Don't log hdcp module warnings in dmesg

[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>
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_log.h